本文整理汇总了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>
示例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>
示例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;
}
示例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;
}