This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // HTML | |
| <p class="introline"><span class="titleline start"></span><span class="headline">Conferences</span><span class="titleline fin"></span></p> | |
| // CSS | |
| .introline { | |
| text-transform:uppercase; | |
| color: #a3a3a3; | |
| letter-spacing: .5px; | |
| font-size: 14px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A couple of things need to happen if you are not hosting email on the server. | |
| 1. Remove example.com from /etc/mail/local-host-names | |
| To do this SSH into the server. | |
| su - root | |
| cd /etc/mail | |
| vi local-host-names | |
| 2. You might also need to delete the coolantexpress related entries in the /etc/mail/virtusertable | |
| and run vnewvirtmaps | |
| To do this SSH into the server. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! A fix for the iOS orientationchange zoom bug. | |
| Script by @scottjehl, rebound by @wilto. | |
| MIT License. | |
| */ | |
| (function(w){ | |
| // This fix addresses an iOS bug, so return early if the UA claims it's something else. | |
| if( !( /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1 ) ){ return; } | |
| var doc = w.document; | |
| if( !doc.querySelector ){ return; } | |
| var meta = doc.querySelector( "meta[name=viewport]" ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| // <![CDATA[ | |
| $(document).ready( function() { | |
| //URL Title js | |
| $("input#title").keyup( function() { | |
| var titleText = $("input#title").val().replace(/ /g,"_").toLowerCase(); | |
| $("input#url_title").val(titleText); | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function touchHandler(event) | |
| { | |
| var touches = event.changedTouches, | |
| first = touches[0], | |
| type = ""; | |
| switch(event.type) | |
| { | |
| case "touchstart": type = "mousedown"; break; | |
| case "touchmove": type="mousemove"; break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Set the current page at 1 if it's not already set | |
| if(!isset($_GET['p'])){$_GET['p']=1;} | |
| $per_page = 100; | |
| $count_transactions = count($transactions); | |
| $pages = ceil($count_transactions / $per_page); | |
| $current_page = (isset($_GET['p'])) ? $_GET['p'] : 1; | |
| $clean_query_string = (isset($_GET['user_id'])) ? str_ireplace("p=".@$_GET['p']."&", "", $_SERVER['QUERY_STRING']) : str_ireplace("p=".@$_GET['p'], "", $_SERVER['QUERY_STRING']); | |
| if(substr($clean_query_string,-1)=="&"){$clean_query_string = substr_replace($clean_query_string, "", -1);} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function() { | |
| if(!Modernizr.input.placeholder){ | |
| $("input").each(function(){ | |
| if($(this).val()=="" && $(this).attr("placeholder")!=""){ | |
| $(this).val($(this).attr("placeholder")); | |
| $(this).focus(function(){ | |
| if($(this).val()==$(this).attr("placeholder")) $(this).val(""); | |
| }); | |
| $(this).blur(function(){ | |
| if($(this).val()=="") $(this).val($(this).attr("placeholder")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| var tabindex = 1; | |
| $('input,select').each(function() { | |
| if (this.type != "hidden") { | |
| var $input = $(this); | |
| $input.attr("tabindex", tabindex); | |
| tabindex++; | |
| } | |
| }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // make it safe to use console.log always | |
| (function(a){function b(){}for(var c="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),d;!!(d=c.pop());){a[d]=a[d]||b;}}) | |
| (function(){try{console.log();return window.console;}catch(a){return (window.console={});}}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_shortcode('iframe', 'iframe'); | |
| function iframe($atts) { | |
| extract(shortcode_atts(array( | |
| 'src' => "", | |
| 'width' => "800", | |
| 'height' => "600" | |
| ), $atts)); | |
| $iframe = '<iframe src="'.$src.'" width="'.$width.'" height="'.$height.'" scrolling="no" allowtransparency="yes" frameborder="0" ></iframe>'; | |