本文整理汇总了PHP中smarty_function_cfg函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_cfg函数的具体用法?PHP smarty_function_cfg怎么用?PHP smarty_function_cfg使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_cfg函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: content_55784e1a6ae1e7_52479975
function content_55784e1a6ae1e7_52479975($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
?>
Здравствуйте
<br />
На сайте <a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
</a> появилась новая новость - <a href="<?php
echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
?>
"><?php
echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
?>
</a>
<br />
<br />
С уважением, администрация сайта <a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
</a><?php
}
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:31,代码来源:67d794ae747f67f7f1770b0995f800b32f1df15c.file.notify.news_new_topic.tpl.php
示例2: content_559ae0fb327e68_20058240
function content_559ae0fb327e68_20058240($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_router')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
}
?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName><?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
</ShortName>
<Description><?php
echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
?>
</Description>
<Contact><?php
echo $_smarty_tpl->tpl_vars['sAdminMail']->value;
?>
</Contact>
<Url type="text/html" template="<?php
echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
?>
topics/?q={searchTerms}" />
<LongName><?php
echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
?>
</LongName>
<Image height="64" width="64" type="image/png"><?php
echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
?>
/images/logo.png</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon"><?php
echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
?>
/images/favicon.ico</Image>
<Developer><?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
(<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
)</Developer>
<Attribution>
© «<?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
»
</Attribution>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>ru-ru</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription><?php
}
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:58,代码来源:81e6c0263acf35e9e4a5f93440d636baf06579ee.file.opensearch.tpl.php
示例3: content_557843f76e0505_85343302
function content_557843f76e0505_85343302($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
$_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('noShowSystemMessage' => true), 0);
?>
<div class="content-error">
<?php
if ($_smarty_tpl->tpl_vars['aMsgError']->value[0]['title']) {
?>
<h2 class="page-header"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['error'];
?>
: <span><?php
echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['title'];
?>
</span></h2>
<?php
}
?>
<p><?php
echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['msg'];
?>
</p>
<br />
<br />
<p><a href="javascript:history.go(-1);"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['site_history_back'];
?>
</a><br />
<a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['site_go_main'];
?>
</a></p>
</div>
<?php
echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
}
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:49,代码来源:68f7d4860d30b47ec0ad863577d6ded3a85fa3a5.file.index.tpl.php
示例4: content_56877bd38efb77_81385054
function content_56877bd38efb77_81385054($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
}
$_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('noShowSystemMessage' => true), 0);
?>
<div class="content-error">
<?php
if ($_smarty_tpl->tpl_vars['aMsgError']->value[0]['title']) {
?>
<h2 class="page-header"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['error'];
?>
: <span><?php
echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['title'];
?>
</span></h2>
<?php
}
?>
<p><?php
echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['msg'];
?>
</p>
<br />
<br />
<p><a href="javascript:history.go(-1);"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['site_history_back'];
?>
</a><br />
<a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['site_go_main'];
?>
</a></p>
</div>
<?php
echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
}
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:49,代码来源:63c2bb8f3c4114d97b2738829ad0adb64e423773.file.index.tpl.php
示例5: content_5684d7a37f2798_05661737
function content_5684d7a37f2798_05661737($_smarty_tpl)
{
if (!is_callable('smarty_function_hook')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
}
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
?>
<div class="profile">
<?php
echo smarty_function_hook(array('run' => 'profile_top_begin', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
?>
<a href="<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
?>
"><img src="<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAvatarPath(48);
?>
" alt="avatar" class="avatar" itemprop="photo" /></a>
<div id="vote_area_user_<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
?>
" class="vote <?php
if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getRating() >= 0) {
?>
vote-count-positive<?php
} else {
?>
vote-count-negative<?php
}
?>
<?php
if ($_smarty_tpl->tpl_vars['oVote']->value) {
?>
voted <?php
if ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() > 0) {
?>
voted-up<?php
} elseif ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() < 0) {
?>
voted-down<?php
}
}
?>
">
<div class="vote-label"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['user_rating'];
?>
</div>
<a href="#" class="vote-up" onclick="return ls.vote.vote(<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
?>
,this,1,'user');"><i class="fa fa-chevron-up"></i></a>
<a href="#" class="vote-down" onclick="return ls.vote.vote(<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
?>
,this,-1,'user');"><i class="fa fa-chevron-down"></i></a>
<div id="vote_total_user_<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
?>
" class="vote-count count" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['user_vote_count'];
?>
: <?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getCountVote();
?>
"><?php
if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getRating() > 0) {
?>
+<?php
}
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getRating();
?>
</div>
</div>
<div class="strength">
<div class="vote-label"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['user_skill'];
?>
</div>
<div class="count" id="user_skill_<?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
?>
"><?php
echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getSkill();
?>
</div>
</div>
<?php
if ($_smarty_tpl->tpl_vars['oUserProfile']->value->isAdministrator()) {
?>
<img src="<?php
echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
?>
/images/admin.png" class="role" title="Да, он - Администратор!">
<?php
//.........这里部分代码省略.........
开发者ID:lunavod,项目名称:bunker_stable,代码行数:101,代码来源:96fecb5f00cae2ab58b21635872cb6f7516030e7.file.profile_top.tpl.php
示例6: content_568a9312634f67_85764045
function content_568a9312634f67_85764045($_smarty_tpl)
{
if (!is_callable('smarty_function_hook')) {
include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php';
}
if (!is_callable('smarty_function_cfg')) {
include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
}
if (!is_callable('smarty_function_router')) {
include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
}
?>
<?php
echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl);
?>
</main>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-2">
<div class="logo-foot">
<img src="<?php
echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
?>
images/logo_foot.png" alt="">
</div>
</div>
<div class="col-md-10">
<p class="copy">© 2015 Все права защищены</p>
</div>
</div>
</div>
<!--
<?php
if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
?>
<ul class="footer-list">
<li class="footer-list-header word-wrap"><?php
echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
?>
</li>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile'];
?>
</a></li>
<li><a href="<?php
echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
?>
profile/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
?>
</a></li>
<li><a href="<?php
echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
?>
add/" class="js-write-window-show"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
?>
</a></li>
<?php
echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'oUser' => $_smarty_tpl->tpl_vars['oUserCurrent']->value), $_smarty_tpl);
?>
<li><a href="<?php
echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
?>
exit/?security_ls_key=<?php
echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
?>
</a></li>
</ul>
<?php
} else {
?>
<ul class="footer-list">
<li class="footer-list-header word-wrap"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_quest_title'];
?>
</li>
<li><a href="<?php
echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
?>
" class="js-registration-form-show"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
?>
</a></li>
<li><a href="<?php
echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
//.........这里部分代码省略.........
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:101,代码来源:abeea5ae30b5e266a9a6d1f2ee256be4e27de779.file.footer.tpl.php
示例7: content_55784371826887_30218402
function content_55784371826887_30218402($_smarty_tpl)
{
if (!is_callable('smarty_function_router')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
$_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => "receptiondesk_admin"), 0);
?>
<h2 class="page-header"><a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['admin_header'];
?>
</a> <span>»</span> <?php
if ($_smarty_tpl->tpl_vars['oCurrentCategory']->value) {
echo htmlspecialchars($_smarty_tpl->tpl_vars['oCurrentCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
?>
<span>»</span> <?php
}
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_title'];
?>
</h2>
<ul class="nav nav-pills mb-30">
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_new') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
receptiondesk/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_new'];
?>
<?php
if ($_smarty_tpl->tpl_vars['iCountQuestionNew']->value > 0) {
?>
+ <?php
echo $_smarty_tpl->tpl_vars['iCountQuestionNew']->value;
}
?>
</a>
</li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_history') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
receptiondesk/history/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_history'];
?>
</a>
</li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_answered') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
receptiondesk/answered/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_answered'];
?>
</a>
</li>
</ul>
<?php
if ($_smarty_tpl->tpl_vars['sType']->value) {
?>
<?php
$_smarty_tpl->tpl_vars["sFullUrl"] = new Smarty_variable("receptiondesk/" . $_smarty_tpl->tpl_vars['sType']->value . "/", null, 0);
} else {
?>
<?php
$_smarty_tpl->tpl_vars["sFullUrl"] = new Smarty_variable("receptiondesk/", null, 0);
}
?>
<ul class="nav nav-pills mb-30">
<li <?php
if (!$_smarty_tpl->tpl_vars['oCurrentCategory']->value) {
?>
//.........这里部分代码省略.........
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:101,代码来源:b4545814c991f688bc9167cbe0a2503d20de57a4.file.receptiondesk_admin.tpl.php
示例8: content_5684d6e40788a6_62890551
function content_5684d6e40788a6_62890551($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_lang_load')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.lang_load.php';
}
if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
?>
<?php
if (!$_smarty_tpl->tpl_vars['sSettingsTinymce']->value) {
?>
<?php
$_smarty_tpl->tpl_vars["sSettingsTinymce"] = new Smarty_variable("ls.settings.getTinymce()", null, 0);
?>
<?php
}
?>
<script src="<?php
echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
?>
/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript">
jQuery(function($){
tinyMCE.init(<?php
echo $_smarty_tpl->tpl_vars['sSettingsTinymce']->value;
?>
);
});
</script>
<?php
} else {
?>
<?php
if (!$_smarty_tpl->tpl_vars['sImgToLoad']->value) {
?>
<?php
$_smarty_tpl->tpl_vars["sImgToLoad"] = new Smarty_variable("topic_text", null, 0);
?>
<?php
}
?>
<?php
echo $_smarty_tpl->getSubTemplate('window_load_img.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('sToLoad' => $_smarty_tpl->tpl_vars['sImgToLoad']->value), 0);
?>
<?php
if (!$_smarty_tpl->tpl_vars['sSettingsTinymce']->value) {
?>
<?php
$_smarty_tpl->tpl_vars["sSettingsMarkitup"] = new Smarty_variable("ls.settings.getMarkitup()", null, 0);
?>
<?php
}
?>
<script type="text/javascript">
jQuery(function($){
ls.lang.load(<?php
echo smarty_function_lang_load(array('name' => "panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"), $_smarty_tpl);
?>
);
// Подключаем редактор
$('.markitup-editor').markItUp(<?php
echo $_smarty_tpl->tpl_vars['sSettingsMarkitup']->value;
?>
);
});
</script>
<?php
}
}
开发者ID:lunavod,项目名称:bunker_stable,代码行数:74,代码来源:c39b405aefbcd1e6c4cc2bc0b273dc99c7a0f6ed.file.editor.tpl.php
示例9: content_5684d6caeb3ac4_70007888
function content_5684d6caeb3ac4_70007888($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_hook')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
}
if (!is_callable('smarty_function_router')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_json')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.json.php';
}
if (!is_callable('smarty_function_add_block')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.add_block.php';
}
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="ru"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="ru"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]-->
<head>
<?php
if ($_smarty_tpl->tpl_vars['sAction']->value != 'login') {
?>
<?php
if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) {
?>
<?php
}
}
?>
<script async src="<?php
echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
?>
/js/spoiler.js"></script>
<?php
echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl);
?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php
echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
?>
</title>
<meta name="description" content="<?php
echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
?>
">
<meta name="keywords" content="<?php
echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value;
?>
">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css">
<link rel="stylesheet" href="<?php
echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
?>
/css/menu.css">
<?php
echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css'];
?>
<link href="<?php
echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
?>
/images/favicon.ico?v1" rel="shortcut icon" />
<link rel="search" type="application/opensearchdescription+xml" href="<?php
echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
?>
opensearch/" title="<?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
" />
<?php
if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) {
?>
<link rel="alternate" type="application/rss+xml" href="<?php
echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url'];
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title'];
?>
">
<?php
}
?>
<?php
if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) {
?>
//.........这里部分代码省略.........
开发者ID:lunavod,项目名称:bunker_stable,代码行数:101,代码来源:1281dd5bea686448e652e88dcbb23f9f6c3fbe34.file.header.tpl.php
示例10: content_5684d6f7a7d4a4_67692430
function content_5684d6f7a7d4a4_67692430($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
if ($_smarty_tpl->tpl_vars['aPaging']->value && $_smarty_tpl->tpl_vars['aPaging']->value['iCountPage'] > 1) {
?>
<div class="pagination">
<?php
if ($_smarty_tpl->tpl_vars['aPaging']->value['iPrevPage']) {
?>
<a href="<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['sBaseUrl'];
?>
/page<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['iPrevPage'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['sGetParams'];
?>
" class="pagination-arrow pagination-arrow-prev js-paging-prev-page" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['paging_previos'];
?>
"><span></span></a>
<?php
} else {
?>
<div class="pagination-arrow pagination-arrow-prev inactive" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['paging_previos'];
?>
"><span></span></div>
<?php
}
?>
<?php
ob_start();
echo smarty_function_cfg(array('name' => 'module.topic.per_page'), $_smarty_tpl);
$_tmp1 = ob_get_clean();
$_smarty_tpl->tpl_vars["iPerPage"] = new Smarty_variable($_tmp1, null, 0);
?>
<div class="pagination-current"><span><?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['iCurrentPage'];
?>
</span> <?php
echo $_smarty_tpl->tpl_vars['aLang']->value['paging_out_of'];
?>
<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['iCountPage'];
?>
</div>
<?php
if ($_smarty_tpl->tpl_vars['aPaging']->value['iNextPage']) {
?>
<a href="<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['sBaseUrl'];
?>
/page<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['iNextPage'];
?>
/<?php
echo $_smarty_tpl->tpl_vars['aPaging']->value['sGetParams'];
?>
" class="pagination-arrow pagination-arrow-next js-paging-next-page" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['paging_next'];
?>
"><span></span></a>
<?php
} else {
?>
<div class="pagination-arrow pagination-arrow-next inactive" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['paging_next'];
?>
"><span></span></div>
<?php
}
?>
</div>
<?php
}
}
开发者ID:lunavod,项目名称:bunker_stable,代码行数:84,代码来源:637f5001dd40cb76c0b34b3c8efb0a162e4518e5.file.paging.tpl.php
示例11: content_5577f781456668_67656656
function content_5577f781456668_67656656($_smarty_tpl)
{
if (!is_callable('smarty_function_router')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_date_format')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.date_format.php';
}
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
$_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => "receptiondesk_admin"), 0);
?>
<h2 class="page-header"><a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['admin_header'];
?>
</a> <span>»</span> <a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
receptiondesk/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_title'];
?>
</a></h2>
<article class="topic topic-type-photoset js-topic">
<header class="topic-header">
<h2 class="topic-title word-wrap"> #<?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getTitle();
?>
<span>»</span> <?php
echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oQuestion']->value->getDateAdd(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
?>
</h2>
<div class="topic-info">
<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_name'];
?>
: <?php
if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName()) {
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName();
?>
<?php
} else {
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_guest'];
?>
<?php
}
?>
<span>»</span>
<?php
if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail()) {
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_mail'];
?>
: <?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail();
?>
<span>»</span><?php
}
?>
<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_ip'];
?>
: <?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getUserIp();
?>
<span>»</span>
<a href="<?php
echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
?>
receptiondesk/question/edit/<?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
?>
.html"><i class="icon-edit" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_edit_title'];
?>
"></i></a>
<a href="#" onclick="ls.receptiondesk.removeQuestion(<?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
?>
);return false;"><i class="icon-remove" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_remove_title'];
?>
"></i></a>
</div>
</header>
<div class="topic-content text">
<?php
echo $_smarty_tpl->tpl_vars['oQuestion']->value->getText();
?>
</div>
//.........这里部分代码省略.........
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:101,代码来源:72e283e63291a2b6801c3860b7aab81ace3bf813.file.receptiondesk_question.tpl.php
示例12: content_55784e34da9e31_62911773
function content_55784e34da9e31_62911773($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_router')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_hook')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
}
?>
<ul class="nav nav-menu">
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all'];
?>
</a>
</li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective'];
?>
</a>
</li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal'];
?>
</a>
</li>
<?php
if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
?>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'feed') {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo smarty_function_router(array('page' => 'feed'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title'];
?>
</a>
</li>
<?php
}
?>
<?php
echo smarty_function_hook(array('run' => 'menu_blog'), $_smarty_tpl);
?>
</ul><?php
}
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:89,代码来源:b4c0b1f5ec3b6679676ac32328421d675fd59c01.file.menu.blog.tpl.php
示例13: content_5577f7814cdac0_58090673
function content_5577f7814cdac0_58090673($_smarty_tpl)
{
if (!is_callable('smarty_function_hook')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
}
if (!is_callable('smarty_function_cfg')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_router')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_json')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.json.php';
}
if (!is_callable('smarty_function_add_block')) {
include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.add_block.php';
}
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="ru"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="ru"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]-->
<head>
<?php
echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl);
?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php
echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
?>
</title>
<meta name="description" content="<?php
echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
?>
">
<meta name="keywords" content="<?php
echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value;
?>
">
<?php
echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css'];
?>
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link href="<?php
echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
?>
/images/favicon.ico?v1" rel="shortcut icon" />
<link rel="search" type="application/opensearchdescription+xml" href="<?php
echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
?>
opensearch/" title="<?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
" />
<?php
if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) {
?>
<link rel="alternate" type="application/rss+xml" href="<?php
echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url'];
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title'];
?>
">
<?php
}
?>
<?php
if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) {
?>
<link rel="canonical" href="<?php
echo $_smarty_tpl->tpl_vars['sHtmlCanonical']->value;
?>
" />
<?php
}
?>
<?php
if ($_smarty_tpl->tpl_vars['bRefreshToHome']->value) {
?>
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL=<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
/">
<?php
//.........这里部分代码省略.........
开发者ID:olegverstka,项目名称:kprf.dev,代码行数:101,代码来源:9a2a03a9f053606bbe5107128592ec0232d21092.file.header.tpl.php
示例14: content_5684d6e3de5ca2_16440131
function content_5684d6e3de5ca2_16440131($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_hook')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
}
if (!is_callable('smarty_function_router')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
}
?>
<nav id="header" class="clearfix">
<div class="icon-userbar userbar-trigger" id="userbar-trigger"></div>
<h1 class="site-name" <?php
if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
?>
style="margin-right: 132px"<?php
}
?>
><a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
?>
</a></h1>
<?php
echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl);
?>
<ul class="nav-userbar">
<?php
echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl);
?>
<?php
if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
?>
<li class="item-messages slide-trigger" id="item-messages" onclick="ls.tools.slide($('#messages'), $(this), true);"><a href="<?php
echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
?>
"></a></li>
<?php
}
?>
<?php
if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value) {
?>
<li class="new-comments" id="new_comments_counter" style="display: none;" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['comment_count_new'];
?>
" onclick="ls.comments.goToNextComment(); return false;"></li>
<li class="update-comments" onclick="ls.comments.load(<?php
echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
?>
,'topic'); return false;"><i id="update-comments" class="fa fa-refresh"></i></li>
<input type="hidden" id="comment_last_id" value="<?php
echo $_smarty_tpl->tpl_vars['iMaxIdComment']->value;
?>
" />
<input type="hidden" id="comment_use_paging" value="<?php
if ($_smarty_tpl->tpl_vars['aPagingCmt']->value && $_smarty_tpl->tpl_vars['aPagingCmt']->value['iCountPage'] > 1) {
?>
1<?php
}
?>
" />
<?php
}
?>
<li onclick="ls.toolbar.scroll.goUp()" title="<?php
echo $_smarty_tpl->tpl_vars['aLang']->value['toolbar_scrollup_go'];
?>
" class="toolbar-topic-prev"><i class="fa fa-chevron-up"></i></li>
<li onclick="ls.toolbar.scroll.goDown()" title="Вниз" class="toolbar-topic-prev"><i class="fa fa-chevron-down"></i></li>
<li class="item-search slide-trigger" id="item-search" onclick="ls.tools.slide($('#search'), $(this), true);"></li>
<?php
if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
?>
<li class="item-submit item-primary slide-trigger" id="item-submit" onclick="ls.tools.slide($('#write'), $(this), true);"></li>
<?php
} else {
?>
<li class="item-auth item-primary slide-trigger" id="item-auth" onclick="ls.tools.slide($('#window_login_form'), $(this), true);"></li>
<?php
}
?>
</ul>
</nav>
<?php
if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
//.........这里部分代码省略.........
开发者ID:lunavod,项目名称:bunker_stable,代码行数:101,代码来源:fb3450ea71406bed58f2e94d68f255a57cb34e29.file.header_top.tpl.php
示例15: content_5684d6cb14f186_15764761
function content_5684d6cb14f186_15764761($_smarty_tpl)
{
if (!is_callable('smarty_function_cfg')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
}
if (!is_callable('smarty_function_router')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
}
if (!is_callable('smarty_function_hook')) {
include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
}
?>
<nav id="nav">
<ul class="nav nav-main">
<?php
if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) {
?>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
?>
class="active"<?php
}
?>
><a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
?>
</a></li>
<?php
} else {
?>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
?>
class="active"<?php
}
?>
><a href="<?php
echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title'];
?>
</a></li>
<?php
}
?>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blogs') {
?>
class="active"<?php
}
?>
><a href="<?php
echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
?>
</a></li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'people') {
?>
class="active"<?php
}
?>
><a href="<?php
echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
?>
</a></li>
<li <?php
if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'stream') {
?>
class="active"<?php
}
?>
><a href="<?php
echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
?>
</a></li>
<li><a href="http://freepony.ru/"><?php
echo $_smarty_tpl->tpl_vars['aLang']->value['freepony'];
?>
</a></li>
<li class="quote" style="float: left;">
<a href="#" style="padding-top: 3px; padding-bottom" 0px;>
<img src="<?php
echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
?>
/images/woona.gif">
</a>
//.........这里部分代码省略.........
开发者ID:lunavod,项目名称:bunker_stable,代码行数:101,代码来源:618d34fe69aec526a43f97d77fabc854d7729d5c.file.nav.tpl.php