Beispiel #1
0
 /**
  * 编辑器
  * @param int $textareaid
  * @param int $toolbar 
  * @param string $module 模块名称
  * @param int $catid 栏目id
  * @param int $color 编辑器颜色
  * @param boole $allowupload  是否允许上传
  * @param boole $allowbrowser 是否允许浏览文件
  * @param string $alowuploadexts 允许上传类型
  * @param string $height 编辑器高度
  * @param string $disabled_page 是否禁用分页和子标题
  */
 public static function editor($textareaid = 'content', $toolbar = 'basic', $module = '', $catid = '', $color = '', $allowupload = 0, $allowbrowser = 1, $alowuploadexts = '', $height = 200, $disabled_page = 0, $allowuploadnum = '10')
 {
     $str = '';
     if (!defined('EDITOR_INIT')) {
         $str = '<script type="text/javascript" src="' . JS_PATH . 'ckeditor/ckeditor.js"></script>';
         define('EDITOR_INIT', 1);
     }
     if ($toolbar == 'basic') {
         $toolbar = defined('IN_ADMIN') ? "['Source']," : '';
         $toolbar .= "['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],['Maximize'],\r\n";
     } elseif ($toolbar == 'full') {
         if (defined('IN_ADMIN')) {
             $toolbar = "['Source',";
         } else {
             $toolbar = '[';
         }
         $toolbar .= "'-','Templates'],\r\n\t\t    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],\r\n\t\t    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['ShowBlocks'],['Image','Capture','Flash','flashplayer','MyVideo'],['Maximize'],\r\n\t\t    '/',\r\n\t\t    ['Bold','Italic','Underline','Strike','-'],\r\n\t\t    ['Subscript','Superscript','-'],\r\n\t\t    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],\r\n\t\t    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],\r\n\t\t    ['Link','Unlink','Anchor'],\r\n\t\t    ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],\r\n\t\t    '/',\r\n\t\t    ['Styles','Format','Font','FontSize'],\r\n\t\t    ['TextColor','BGColor'],\r\n\t\t    ['attachment'],\r\n";
     } elseif ($toolbar == 'desc') {
         $toolbar = "['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'Image', '-','Source'],['Maximize'],\r\n";
     } else {
         $toolbar = '';
     }
     $str .= "<script type=\"text/javascript\">\r\n";
     $str .= "CKEDITOR.replace( '{$textareaid}',{";
     $str .= "height:{$height},";
     $show_page = $module == 'content' && !$disabled_page ? 'true' : 'false';
     $str .= "pages:{$show_page},subtitle:{$show_page},textareaid:'" . $textareaid . "',module:'" . $module . "',catid:'" . $catid . "',\r\n";
     if ($allowupload) {
         $authkey = upload_key("{$allowuploadnum},{$alowuploadexts},{$allowbrowser}");
         $str .= "flashupload:true,alowuploadexts:'" . $alowuploadexts . "',allowbrowser:'" . $allowbrowser . "',allowuploadnum:'" . $allowuploadnum . "',authkey:'" . $authkey . "',\r\n";
     }
     if ($allowupload) {
         $str .= "filebrowserUploadUrl : 'index.php?m=attachment&c=attachments&a=upload&module=" . $module . "&catid=" . $catid . "&dosubmit=1',\r\n";
     }
     if ($color) {
         $str .= "extraPlugins : 'uicolor',uiColor: '{$color}',";
     }
     $str .= "toolbar :\r\n";
     $str .= "[\r\n";
     $str .= $toolbar;
     $str .= "]\r\n";
     //$str .= "fullPage : true";
     $str .= "});\r\n";
     $str .= '</script>';
     $ext_str = "<div class='editor_bottom'>";
     if (!defined('IMAGES_INIT')) {
         $ext_str .= '<script type="text/javascript" src="' . JS_PATH . 'swfupload/swf2ckeditor.js"></script>';
         define('IMAGES_INIT', 1);
     }
     $ext_str .= "<div id='page_title_div'>\r\n\t\t<table cellpadding='0' cellspacing='1' border='0'><tr><td class='title'>" . L('subtitle') . "<span id='msg_page_title_value'></span></td><td>\r\n\t\t<a class='close' href='javascript:;' onclick='javascript:\$(\"#page_title_div\").hide();'><span>×</span></a></td>\r\n\t\t<tr><td colspan='2'><input name='page_title_value' id='page_title_value' class='input-text' value='' size='30'>&nbsp;<input type='button' class='button' value='" . L('submit') . "' onclick=insert_page_title(\"{$textareaid}\",1)></td></tr>\r\n\t\t</table></div>";
     $ext_str .= "</div>";
     if (is_ie()) {
         $ext_str .= "<div style='display:none'><OBJECT id='PC_Capture' classid='clsid:021E8C6F-52D4-42F2-9B36-BCFBAD3A0DE4'><PARAM NAME='_Version' VALUE='0'><PARAM NAME='_ExtentX' VALUE='0'><PARAM NAME='_ExtentY' VALUE='0'><PARAM NAME='_StockProps' VALUE='0'></OBJECT></div>";
     }
     $str .= $ext_str;
     return $str;
 }
function download($path, $filename)
{
    ignore_user_abort(true);
    set_time_limit(0);
    // disable the time limit for this script
    //$path = "/Extern/Media/2. 만화/";
    //$path = "/absolute_path_to_your_files/"; // change the path to fit your websites document structure
    $dl_file = $filename;
    $fullPath = $path . $dl_file;
    if ($fd = fopen($fullPath, "r")) {
        $fsize = filesize($fullPath);
        $path_parts = pathinfo($fullPath);
        $ext = strtolower($path_parts["extension"]);
        switch ($ext) {
            case "zip":
                $ctype = "application/zip";
                break;
            case "rar":
                $ctype = "application/rar";
                break;
            default:
                $ctype = "application/force-download";
        }
        if (is_ie()) {
            $dl_file = utf2euc($dl_file);
        }
        header("Pragma: public");
        header("Expires: 0");
        //header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
        header("Cache-Control: public");
        header("Content-Description: File Transfer");
        header("Content-Type: {$ctype}");
        $header = "Content-Disposition: attachment; filename='" . $dl_file . "';";
        header($header);
        header("Content-Transfer-Encoding: binary");
        header("Content-length: {$fsize}");
        ob_end_flush();
        while (!feof($fd)) {
            $buffer = fread($fd, 2048);
            echo $buffer;
        }
    } else {
        echo "fail " . $fullPath . "<br/>";
        exit;
    }
    fclose($fd);
    exit;
}
 /**
  * 编辑器
  * @param int $textareaid
  * @param int $toolbar 
  * @param string $module 模块名称
  * @param int $catid 栏目id
  * @param int $color 编辑器颜色
  * @param boole $allowupload  是否允许上传
  * @param boole $allowbrowser 是否允许浏览文件
  * @param string $alowuploadexts 允许上传类型
  * @param string $height 编辑器高度
  * @param string $disabled_page 是否禁用分页和子标题
  */
 function form_editor($textareaid = 'content', $toolbar = 'basic', $allowupload = 0, $uploadurl = '', $alowuploadexts = '', $height = 400, $disabled_page = 0, $allowuploadnum = '10')
 {
     $str = '';
     if (!defined('EDITOR_INIT')) {
         $str = '<script type="text/javascript" src="' . base_url(BASE_JS_PATH . 'plugs/c_k_e_d_i_t_o_r/ckeditor.js') . '"></script>';
         define('EDITOR_INIT', 1);
     }
     if ($toolbar == 'basic') {
         $toolbar = defined('IN_ADMIN') ? "['Source']," : '';
         $toolbar .= "['Bold', 'Italic','Underline','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'FontSize', 'TextColor','BGColor'],\r\n";
     } elseif ($toolbar == 'blog') {
         $toolbar = defined('IN_ADMIN') ? "['Source']," : '';
         $toolbar .= "['Source','Bold', 'Italic','Underline','Strike','-'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Link', 'Unlink', 'FontSize', 'TextColor','BGColor','Image'],\r\n";
     } elseif ($toolbar == 'full') {
         if (defined('IN_ADMIN')) {
             $toolbar = "['Source',";
         } else {
             $toolbar = '[';
         }
         $toolbar .= "'-','Templates'],\n\t\t\t    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print'],\n\t\t\t    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['ShowBlocks'],['Image','Capture','Flash'],['Maximize'],\n\t\t\t    '/',\n\t\t\t    ['Bold','Italic','Underline','Strike','-'],\n\t\t\t    ['Subscript','Superscript','-'],\n\t\t\t    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],\n\t\t\t    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],\n\t\t\t    ['Link','Unlink','Anchor'],\n\t\t\t    ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],\n\t\t\t    '/',\n\t\t\t    ['Styles','Format','Font','FontSize'],\n\t\t\t    ['TextColor','BGColor']\r\n";
     } elseif ($toolbar == 'desc') {
         $toolbar = "['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'Image', '-','Source'],\r\n";
     } else {
         $toolbar = '';
     }
     $str .= "<script type=\"text/javascript\">\r\n";
     $str .= "CKEDITOR.replace( '{$textareaid}',{";
     $str .= "height:{$height}, enterMode:CKEDITOR.ENTER_BR,shiftEnterMode:CKEDITOR.ENTER_BR,";
     $str .= "pages:false,subtitle:false,textareaid:'" . $textareaid . "',\r\n";
     if ($allowupload) {
         #$str .="flashupload:true,alowuploadexts:'".$alowuploadexts."',allowbrowser:'".$allowbrowser."',allowuploadnum:'".$allowuploadnum."',\r\n";
     }
     if (defined('IN_ADMIN')) {
         $uploadurl = site_url("adminpanel/attachments/upload/");
     }
     if (defined('ATTACHEMENTS_URL')) {
         $uploadurl = ATTACHEMENTS_URL;
     }
     if ($allowupload) {
         $str .= "filebrowserUploadUrl :'{$uploadurl}' ,\r\n";
     }
     $str .= "toolbar :\r\n";
     $str .= "[\r\n";
     $str .= $toolbar;
     $str .= "]\r\n";
     //$str .= "fullPage : true";
     $str .= "});\r\n";
     $str .= '</script>';
     $ext_str = '';
     if (is_ie()) {
         $ext_str .= "<div style='display:none'><OBJECT id='PC_Capture' classid='clsid:021E8C6F-52D4-42F2-9B36-BCFBAD3A0DE4'><PARAM NAME='_Version' VALUE='0'><PARAM NAME='_ExtentX' VALUE='0'><PARAM NAME='_ExtentY' VALUE='0'><PARAM NAME='_StockProps' VALUE='0'></OBJECT></div>";
     }
     $str .= $ext_str;
     return $str;
 }
<?php

header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: private');
?>
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<meta    HTTP-EQUIV="Pragma"    CONTENT="no-cache">    
<meta    HTTP-EQUIV="Cache-Control"    CONTENT="no-cache">    
<meta    HTTP-EQUIV="Expires"    CONTENT="0">  
<?php 
if (is_ie()) {
    // Always force latest IE rendering engine and chrome frame (also hides compatibility mode button)
    ?>
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><?php 
}
?>

<?php 
/* Disable phone number detection on apple devices. */
?>
<meta name=format-detection content="telephone=no">

<?php 
/* I don't think we ever want this to be indexed*/
?>
<meta name=robots content="noindex,nofollow,noarchive">

<meta name=author content="https://github.com/ErikDubbelboer/">
/**
 * 文件下载
 * @param $filepath 文件路径
 * @param $filename 文件名称
 */
function file_down($filepath, $filename = '')
{
    if (!$filename) {
        $filename = basename($filepath);
    }
    if (is_ie()) {
        $filename = rawurlencode($filename);
    }
    $filetype = fileext($filename);
    $filesize = sprintf("%u", filesize($filepath));
    if (ob_get_length() !== false) {
        @ob_end_clean();
    }
    header('Pragma: public');
    header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    header('Cache-Control: no-store, no-cache, must-revalidate');
    header('Cache-Control: pre-check=0, post-check=0, max-age=0');
    header('Content-Transfer-Encoding: binary');
    header('Content-Encoding: none');
    header('Content-type: ' . $filetype);
    header('Content-Disposition: attachment; filename="' . $filename . '"');
    header('Content-length: ' . $filesize);
    readfile($filepath);
    exit;
}
Beispiel #6
0
		</div> <!-- /container -->
	</section>

	<!-- Modal -->
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">

	  	<div class="modal-dialog">
		    <div class="modal-content">
		      	<div class="modal-header">
		        	<button type="button" class="close" data-dismiss="modal">
		        	<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
		        	</button>
		        	<h3>Formulario de Contacto</h3>
		      	</div>
		      	<div class="modal-body">
		      		<?php $sr_only = (is_ie() && get_browser_version() <= 9) ? '' : 'sr-only'; ?>
                	<!-- Change the "action" attribute to your back-end URL -->
	                <form id="registrationForm" method="post" action="<?php echo get_permalink($wp_query->post->ID); ?>">
						<div class="row">
	                		<div class="col-xs-6">
								<div class="form-group <?php if ($error_name) echo 'has-error'; ?>">
									<label class="<?php echo $sr_only; ?>" for="contact_name">Nombre Completo (*)</label>
									<input type="text" class="form-control" id="contact_name" name="contact_name" placeholder="Nombre Completo (*)" value="<?php if (isset($_POST['contact_name'])) echo esc_attr($_POST['contact_name']); ?>" />
								</div>

								<div class="form-group <?php if ($error_email) echo 'has-error'; ?>">
									<label class="<?php echo $sr_only; ?>" for="contact_email">Correo Eletrónico (*)</label>
									<input type="email" class="form-control" id="contact_email" name="contact_email" placeholder="Correo Eletrónico (*)" value="<?php if (isset($_POST['contact_email'])) echo esc_attr($_POST['contact_email']); ?>" />
								</div>

								<div class="form-group <?php if ($error_ruc) echo 'has-error'; ?>">
Beispiel #7
0
        if (is_ie() && get_browser_version() < 10) {
            echo TRUE;
        }
        echo '</pre>';
        echo '<pre>if(is_firefox() && get_browser_version() >= 19) = ';
        if (is_firefox() && get_browser_version() >= 19) {
            echo TRUE;
        }
        ?>
						</div>

						<div style="padding:5px; margin:10px 0; border-radius:5px; background:#E6E6E6">
							<p>Test for specific versions of a browser:</p>
							<?php 
        echo '<pre>if(is_ie(11)) = ';
        if (is_ie(11)) {
            echo TRUE;
        }
        echo '</pre>';
        echo '<pre>if(is_firefox(35)) = ';
        if (is_firefox(35)) {
            echo TRUE;
        }
        echo '</pre>';
        echo '<pre>if(is_chrome(44)) = ';
        if (is_chrome(44)) {
            echo TRUE;
        }
        echo '</pre>';
        ?>
						</div>
Beispiel #8
0
		$('input:text, input:password').addClass('input');
    }); 
 
</script>
		
<?php 
//with this I can put header data in the header instead of in the body.
if (isset($additional_header_info)) {
    echo $additional_header_info;
}
?>
</head>
<body>
	
<?php 
if (is_ie(8)) {
    ?>
<div class="full_wrap">
	You are using an old browser that may not function as expected.	For a better, safer browsing experience, please upgrade your browser.<br/>
	For your convenience, here are some links!
	<strong><a style="color:#fff;" href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie">Internet Explorer</a> | 
	<a style="color:#fff;" href="http://firefox.com">Firefox</a> | 
	<a style="color:#fff;" href="http://google.com/chrome">Google Chrome</a> | 
	<a style="color:#fff;" href="http://www.apple.com/safari/">Apple Safari</a></strong>
</div>
<?php 
}
?>

<div id="top_menu_container" class="full_wrap">
	<div class="wide_wrap">
Beispiel #9
0
<?php

header('Content-Type: text/html; charset=utf-8');
header('Cache-Control: private');

?><!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>

<?php if (is_ie()) {
  // Always force latest IE rendering engine and chrome frame (also hides compatibility mode button)
  ?><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><?php
} ?>

<meta name=author content="https://github.com/ErikDubbelboer/">

<?php /* I don't think we ever want this to be indexed*/ ?>
<meta name=robots content="noindex,nofollow,noarchive">

<title><?php echo format_html($server['host'])?> - phpRedisAdmin</title>

<?php foreach ($page['css'] as $css) { ?>
<link rel=stylesheet href="css/<?php echo $css; ?>.css?v1" media=all>
<?php } ?>

<link rel="shortcut icon" href="images/favicon.png">

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script>

<?php foreach ($page['js'] as $js) { ?>
Beispiel #10
0
/**
 * Conditional to test for less than IE11.
 *
 * @return bool
 * @deprecated Use the future-proof syntax instead of this function: if(is_ie() && get_browser_version() < 11) { }
 */
function is_lt_IE11() {
	_deprecated_function(__FUNCTION__, '3.6', 'is_ie');
	if (is_ie() && get_browser_version() < 11) {
		return TRUE;
	} else {
		return FALSE;
	}
}
Beispiel #11
0
<?php

require_once 'common.php';
if (is_ie("5")) {
    require 'inicio.php';
    exit;
}
require 'head.php';
?>
<body>
<?php 
if (is_ie("567")) {
    ?>
<div id='iewarning'>
  Tu navegador no está actualizado,<br />
  para una mejor visualización se recomienda:
  <a href='http://www.opera.com'>Opera</a>
  <a href='http://www.firefox.com'>Mozilla Firefox</a>
  <a href='http://www.google.com/chrome?hl=es'>Google Chrome</a>
</div>
<?php 
}
?>
<div id='todo'>
  <div id='intro'>
    <span id='loader'>Cargando...<span id='cargado'>0</span>%</span>
    <img id='fondopre' src='/img/fondopre.jpeg' alt='fondo' onload="update_loader();"/>
    <img id='pres1' src='/img/pres1.jpeg' alt='fondo' onload="update_loader();"/>
    <img id='pres2' src='/img/pres2.jpeg' alt='fondo' onload="update_loader();"/>
    <img id='pres3' src='/img/pres3.jpeg' alt='fondo' onload="update_loader();"/>
    <div>
function get_device_type()
{
    $device_type = 'Unknown';
    switch (true) {
        // Windows
        case is_windows() && is_firefox():
            $device_type = 'Windows Firefox';
            break;
        case is_windows() && is_chromium():
            $device_type = 'Windows Chromium';
            break;
        case is_windows() && is_chrome():
            $device_type = 'Windows Chrome';
            break;
        case is_windows() && is_safari():
            $device_type = 'Windows Safari';
            break;
        case is_windows() && is_opera():
            $device_type = 'Windows Opera';
            break;
        case is_windows() && is_ie():
            $device_type = 'Windows IE';
            break;
            // Apple Macintosh
        // Apple Macintosh
        case is_macintosh() && is_firefox():
            $device_type = 'Apple Firefox';
            break;
        case is_macintosh() && is_chromium():
            $device_type = 'Apple Chromium';
            break;
        case is_macintosh() && is_chrome():
            $device_type = 'Apple Chrome';
            break;
        case is_macintosh() && is_safari():
            $device_type = 'Apple Safari';
            break;
        case is_macintosh() && is_opera():
            $device_type = 'Apple Opera';
            break;
        case is_macintosh() && is_ie():
            $device_type = 'Apple IE';
            break;
            // Ubuntu
        // Ubuntu
        case is_ubuntu() && is_firefox():
            $device_type = 'Ubuntu Firefox';
            break;
        case is_ubuntu() && is_chromium():
            $device_type = 'Ubuntu Chromium';
            break;
        case is_ubuntu() && is_chrome():
            $device_type = 'Ubuntu Chrome';
            break;
        case is_ubuntu() && is_safari():
            $device_type = 'Ubuntu Safari';
            break;
        case is_ubuntu() && is_opera():
            $device_type = 'Ubuntu Opera';
            break;
        case is_ubuntu() && is_ie():
            $device_type = 'Ubuntu IE';
            break;
            // Linux
        // Linux
        case is_linux() && is_firefox():
            $device_type = 'Linux Firefox';
            break;
        case is_linux() && is_chromium():
            $device_type = 'Linux Chromium';
            break;
        case is_linux() && is_chrome():
            $device_type = 'Linux Chrome';
            break;
        case is_linux() && is_safari():
            $device_type = 'Linux Safari';
            break;
        case is_linux() && is_opera():
            $device_type = 'Linux Opera';
            break;
        case is_linux() && is_ie():
            $device_type = 'Linux IE';
            break;
    }
    return $device_type;
}
Beispiel #13
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php 
require_once 'common.php';
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://www.w3.org/2005/10/profile">
  <title>Atomizadores Argentinos - <?php 
echo $title;
?>
</title>
  <link rel="stylesheet" type="text/css" href="estilo.css" />
  <!--[if lt IE 9 ]> <link rel='stylesheet' type='text/css' href='ie.css' /> <![endif]-->
  <link rel="shortcut icon" href="./img/favicon.ico" />
  <link  href="http://fonts.googleapis.com/css?family=Ubuntu:300,300italic,regular,italic,500,500italic,bold,bolditalic&v1" rel="stylesheet" type="text/css" >
  <?php 
if (!is_ie("5")) {
    ?>
    <!--<script type='text/javascript' src="./scripts/jquery.js"></script>-->
    <script type='text/javascript' src="//code.jquery.com/jquery-1.11.3.min.js"></script>
    <?php 
    if (isset($scripts)) {
        ?>
      <script type="text/javascript" src="<?php 
        echo $scripts;
        ?>
"></script>
    <?php 
    }
    ?>
    <script type="text/javascript" src="/scripts/scripts.js"></script>
  <?php 
<?php

// WP Native Scripts
wp_enqueue_script('jquery');
wp_enqueue_script('common');
wp_enqueue_script('jquery-form');
if (is_single()) {
    wp_enqueue_script('comment');
    wp_enqueue_script('comment-reply');
}
// Support IE
if (is_ie() && is_ie() <= 8) {
    wp_enqueue_script('html5', THEME_URI . '/js/html5.js', null, THEME_VERSION, false);
    wp_enqueue_script('respond', THEME_URI . '/js/respond.min.js', false, THEME_VERSION, false);
}
// Form
wp_enqueue_script('form-meta', THEME_URI . '/js/jquery.metadata.js', false, THEME_VERSION, true);
wp_enqueue_script('validate', THEME_URI . '/js/jquery.validate.min.js', false, THEME_VERSION, true);
// Responsive Image
wp_enqueue_script('matchmedia', THEME_URI . '/js/matchMedia.js', false, THEME_VERSION, false);
wp_enqueue_script('picturefill', THEME_URI . '/js/picturefill.js', false, THEME_VERSION, false);
// Map
wp_enqueue_script('gmap-api', 'http://maps.google.com/maps/api/js?sensor=false', false, THEME_VERSION, true);
wp_enqueue_script('gmaps', THEME_URI . '/js/gmaps.js', false, THEME_VERSION, true);
// Fancybox
wp_enqueue_script('fancybox', THEME_URI . '/js/fancybox/jquery.fancybox-1.3.4.js', false, THEME_VERSION, true);
// ETC
wp_enqueue_script('tinynav', THEME_URI . '/js/tinynav.min.js', false, THEME_VERSION, true);
wp_enqueue_script('lettering', THEME_URI . '/js/jquery.lettering.min.js', false, THEME_VERSION, true);
wp_enqueue_script('isotop', THEME_URI . '/js/jquery.isotope.min.js', false, THEME_VERSION, true);
wp_enqueue_script('nt-masonry', THEME_URI . '/js/jquery.masonry.min.js', false, THEME_VERSION, true);