当前位置: 首页>>代码示例>>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;未经允许,请勿转载。