當前位置: 首頁>>代碼示例>>PHP>>正文


PHP skin_url函數代碼示例

本文整理匯總了PHP中skin_url函數的典型用法代碼示例。如果您正苦於以下問題:PHP skin_url函數的具體用法?PHP skin_url怎麽用?PHP skin_url使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了skin_url函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: skin_url

</style>
</head>
<body>
<div class="wrapper">
	<div class="mod-search cf">
	    <div class="fl">
	      <ul class="ul-inline">
	        <li>
	          <input type="text" id="matchCon" class="ui-input ui-input-ph matchCon" value="按供應商編號,供應商名稱,聯係人,電話等查詢">
	        </li>
	        <li><a class="ui-btn mrb" id="search">查詢</a></li>
	      </ul>
	    </div>
	    <div class="fr"><a href="#" class="ui-btn ui-btn-sp mrb" id="btn-add">新增</a>
		<!--<a href="#" class="ui-btn mrb" id="btn-print">打印</a>-->
		<!--<a href="#" class="ui-btn mrb" id="btn-import">導入</a>-->
		<a href="#" class="ui-btn mrb" id="btn-export">導出</a>
		<a href="#" class="ui-btn" id="btn-batchDel">刪除</a></div>
	  </div>
    <div class="grid-wrap">
	    <table id="grid">
	    </table>
	    <div id="page"></div>
	  </div>
</div>
<script src="<?php 
echo skin_url();
?>
/js/dist/vendorList.js?2"></script>
</body>
</html>
開發者ID:Neo-Luo,項目名稱:amc,代碼行數:31,代碼來源:index.php

示例2: site_url

    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php 
echo site_url('feed');
?>
"/>
	<!--<link href='http://fonts.googleapis.com/css?family=Copse' rel='stylesheet' type='text/css'>-->


    <?php 
//Get Assets (js|css)
$this->cf_asset_lib->get();
//If head text variable is set, echo it.
if (isset($head_text)) {
    echo (string) $head_text;
}
//Load General_js.php file
$this->cf_block_lib->load('includes/general_js');
//Load Google Analytics
$this->cf_block_lib->load('seo/google_analytics');
?>

    <script type="text/javascript" src="<?php 
echo skin_url('global');
?>
js/share.mini.js"></script>

</head>
開發者ID:ipopovic,項目名稱:codefight-cms,代碼行數:30,代碼來源:head.php

示例3: load_scripts

    function load_scripts($scripts, $theme = 'default')
    {
        if (is_string($scripts)) {
            $link = '<script type = "text/javascript" src = "';
            $link .= '//' === "" || strrpos($scripts, '//', -strlen($scripts)) !== FALSE ? $scripts : skin_url($theme) . $scripts;
            $link .= '"></script>';
        } else {
            if (count($scripts) == count($scripts, COUNT_RECURSIVE)) {
                $link = NULL;
                foreach ($scripts as $script) {
                    $link .= '<script type="text/javascript" src="';
                    $link .= '//' === "" || strrpos($script, '//', -strlen($script)) !== FALSE ? $script : skin_url($theme) . $script;
                    $link .= '"></script>
';
                }
            } else {
                $link = NULL;
                foreach ($scripts as $script) {
                    if (isset($script['src'])) {
                        $link .= '<script type="text/javascript" src="';
                        $link .= '//' === "" || strrpos($style['src'], '//', -strlen($style['src'])) !== FALSE ? $style['src'] : skin_url($theme) . $style['src'];
                        $link .= '"></script>
';
                    }
                }
            }
        }
        return $link;
    }
開發者ID:NaszvadiG,項目名稱:bootigniter,代碼行數:29,代碼來源:template_helper.php

示例4: exit

    exit(__('No direct script access allowed'));
}
?>
<script language="javascript">
    /*Reason for this file is to pass php stuff*/
    function set_language(lang, url) {
        if (lang == '') {
            alert('Couldnot change language at this time.');
            return;
        }
        else {
            jQuery('#loading_language').html('<p class="alert alert-error"><img alt="<?php 
echo lang('processing_wait');
?>
" src="<?php 
echo skin_url('global/images', 'ajax-loader.gif');
?>
" border="0" width="128" height="15"/></p>');

            jQuery.post(
                    'page/ajax/set-language',
                    {
                        id: lang,
                    },
                    function(data) {
                        if (data == 'OK') {
                            if (url == '') {
                                window.location.replace(window.location.href);
                            } else {
                                window.location.href = url;
                            }
開發者ID:mashbro,項目名稱:Codefight-CMS,代碼行數:31,代碼來源:general_js.php


注:本文中的skin_url函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。