本文整理汇总了PHP中smarty_function_widget函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_widget函数的具体用法?PHP smarty_function_widget怎么用?PHP smarty_function_widget使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_widget函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: smarty_function_wgroup_show
/**
* Plugin for Smarty
* Display widget group
*
* @param array $aParams
* @param Smarty_Internal_Template $oSmartyTemplate
*
* @return string
*/
function smarty_function_wgroup_show($aParams, $oSmartyTemplate)
{
if (isset($aParams['name'])) {
if (!isset($aParams['group'])) {
$aParams['group'] = $aParams['name'];
} elseif (!isset($aParams['widget'])) {
$aParams['widget'] = $aParams['name'];
}
}
if (!isset($aParams['group'])) {
$sError = 'Parameter "group" does not define in {wgroup_show ...} function';
if ($oSmartyTemplate->template_resource) {
$sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
}
trigger_error($sError, E_USER_WARNING);
return null;
}
$sWidgetGroup = $aParams['group'];
$aWidgets = E::ModuleViewer()->GetWidgets();
$sResult = '';
if (isset($aWidgets[$sWidgetGroup])) {
if (!function_exists('smarty_function_widget')) {
F::IncludeFile('function.widget.php');
}
foreach ($aWidgets[$sWidgetGroup] as $oWidget) {
$sResult .= smarty_function_widget(array('object' => $oWidget), $oSmartyTemplate);
}
}
return $sResult;
}
示例2: content_55d8284d99fb94_63277476
function content_55d8284d99fb94_63277476($_smarty_tpl)
{
if (!is_callable('smarty_function_widget')) {
include 'F:\\chengshuang\\php\\ejw\\system\\plugins/smarty\\function.widget.php';
}
?>
<div class="line1"></div>
<!-- help -->
<div class="footer hauto mb30">
<!--<?php
echo smarty_function_widget(array('id' => "public/help"), $_smarty_tpl);
?>
-->
<?php
echo $_smarty_tpl->getSubTemplate("block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
</div>
<!-- //help -->
<!-- 客服 -->
<?php
echo smarty_function_widget(array('id' => "public/kefu"), $_smarty_tpl);
?>
<!-- //客服 -->
</div>
</body>
</html>
<?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:30,代码来源:a210cbe2753fba992fb4b940e6bc240dfa2f4512.file.footer.html.php
示例3: content_55d7ea2b776d64_38582979
function content_55d7ea2b776d64_38582979($_smarty_tpl)
{
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
?>
<div class="line1"></div>
<!-- help -->
<div class="footer hauto mb30">
<!--<?php
echo smarty_function_widget(array('id' => "public/help"), $_smarty_tpl);
?>
-->
<?php
echo $_smarty_tpl->getSubTemplate("block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
</div>
<!-- //help -->
<!-- 客服 -->
<?php
echo smarty_function_widget(array('id' => "public/kefu"), $_smarty_tpl);
?>
<!-- //客服 -->
</div>
</body>
</html>
<?php
}
开发者ID:a195474368,项目名称:ejiawang,代码行数:30,代码来源:a94d9ce2715350687dd01818fa681e75062163b8.file.footer.html.php
示例4: smarty_function_wgroup_show
/**
* Plugin for Smarty
* Display widget group
*
* @param array $aParams
* @param Smarty_Internal_Template $oSmartyTemplate
*
* @return string
*/
function smarty_function_wgroup_show($aParams, $oSmartyTemplate)
{
static $aStack = array();
if (empty($aParams['group']) && empty($aParams['name'])) {
$sError = 'Parameter "group" does not define in {wgroup_show ...} function';
if ($oSmartyTemplate->template_resource) {
$sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
}
F::SysWarning($sError);
return null;
}
if (empty($aParams['group']) && !empty($aParams['name'])) {
$aParams['group'] = $aParams['name'];
unset($aParams['name']);
}
$sWidgetGroup = $aParams['group'];
$aWidgetParams = isset($aParams['params']) ? array_merge($aParams['params'], $aParams) : $aParams;
if (isset($aStack[$sWidgetGroup])) {
// wgroup nested in self
$sError = 'Template function {wgroup group="' . $sWidgetGroup . '" nested in self ';
if ($oSmartyTemplate->template_resource) {
$sError .= ' (template: ' . $oSmartyTemplate->template_resource . ')';
}
F::SysWarning($sError);
return null;
}
// add group into the stack
$aStack[$sWidgetGroup] = $aWidgetParams;
$aWidgets = E::ModuleViewer()->GetWidgets();
$sResult = '';
if (isset($aWidgets[$sWidgetGroup])) {
if (!function_exists('smarty_function_widget')) {
F::IncludeFile('function.widget.php');
}
foreach ($aWidgets[$sWidgetGroup] as $oWidget) {
$sResult .= smarty_function_widget(array_merge($aWidgetParams, array('widget' => $oWidget)), $oSmartyTemplate);
}
}
// Pop element off the stack
array_pop($aStack);
return $sResult;
}
示例5: content_55d815cc877be5_55605043
function content_55d815cc877be5_55605043($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
echo $_smarty_tpl->getSubTemplate("ucenter/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<div class="base_info"><b>博客资料</b>(<span class="red">*</span>必填项)</div>
<div class="page-data">
<form action="<?php
echo smarty_function_link(array('ctl' => 'ucenter/designer:index', 'http' => true), $_smarty_tpl);
?>
" mini-form="designer" method="post" >
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li><a href="#table-info">属性设置</a></li>
<li><a href="#table-attr">基本信息</a></li>
</ul>
<table width="100%" border="0" cellspacing="0" class="form" id="table-attr" style="display:none;">
<?php
echo smarty_function_widget(array('id' => "attr/form", 'value' => $_smarty_tpl->tpl_vars['attr']->value, 'from' => "zx:designer"), $_smarty_tpl);
?>
<tr><th></th><td><input type="submit" value="保存" class="set_btn" /></td></tr>
</table>
<table width="100%" border="0" cellspacing="0" id="table-info" class="form" style="display:block;">
<tr>
<th>所属公司:</th>
<td>
<input type="hidden" id="select_company_id" name="data[company_id]" value="<?php
echo $_smarty_tpl->tpl_vars['designer']->value['company_id'];
?>
" class="input"/>
<input type="text" id="select_company_name" value="<?php
echo $_smarty_tpl->tpl_vars['company']->value['name'];
?>
" class="input"/>
<a class="yzmbtn" action="<?php
echo smarty_function_link(array('ctl' => 'ucenter/select:company'), $_smarty_tpl);
?>
" mini-select="#select_company_id,#select_company_name/N/<?php
echo $_smarty_tpl->tpl_vars['designer']->value['city_id'];
?>
/选择公司"/>选择公司</a>
</td>
</tr>
<tr>
<th >城市:</th>
<td>
<label>城市:<select name="data[city_id]" class="w-100"><?php
echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['designer']->value['city_id']), $_smarty_tpl);
?>
</select></label>
<label>地区:<select name="data[area_id]" class="w-100"><?php
echo smarty_function_widget(array('id' => "data/area", 'value' => $_smarty_tpl->tpl_vars['designer']->value['area_id'], 'city_id' => $_smarty_tpl->tpl_vars['designer']->value['city_id']), $_smarty_tpl);
?>
</select></label>
</td>
</tr>
<tr><th>毕业院校:</th><td><input type="text" name="data[school]" value="<?php
echo $_smarty_tpl->tpl_vars['designer']->value['school'];
?>
" class="input w-300"/></td></tr>
<tr><th>QQ:</th><td><input type="text" name="data[qq]" value="<?php
echo $_smarty_tpl->tpl_vars['designer']->value['qq'];
?>
" class="input w-300"/></td></tr>
<tr><th>简介:</th><td><textarea name="data[about]" kindeditor="full" style="width:580px;height:350px;"><?php
echo $_smarty_tpl->tpl_vars['designer']->value['about'];
?>
</textarea></td></tr>
<tr><th></th><td><input type="submit" value="保存" class="set_btn" /></td></tr>
</table>
</form>
</div>
<script type="text/javascript" src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['res'];
?>
/kindeditor/kindeditor.js"></script>
<script type="text/javascript">
(function(K, $) {
var editor = KindEditor.create('textarea[kindeditor]', $.extend({uploadJson: '<?php
echo smarty_function_link(array('ctl' => "magic:editorupload", 'http' => true), $_smarty_tpl);
?>
'}, window.KindEditor_Simple));
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:a97810b96598aae134dca900abe7557403447d13.file.index.html.php
示例6: content_55d7f7aa849239_84819556
function content_55d7f7aa849239_84819556($_smarty_tpl)
{
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
if (!is_callable('smarty_block_KT')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
}
echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<link rel="stylesheet" type="text/css" href="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/default/static/style/mallstyle.css?20140109"/>
<link rel="stylesheet" type="text/css" href="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/default/static/style/base.css?20140109"/>
<link rel="stylesheet" type="text/css" href="/themes/cheerful/static/style/mallstyle.css"/>
<link rel="stylesheet" type="text/css" href="/themes/cheerful/static/style/base.css"/>
<!----------头部和导航公共部分------------>
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">
<!-- 上面部分开始 -->
<div class="w1000 mall_main_t hauto mt10">
<!-- 左面开始 -->
<div class="mall_main_t_l lt bgwhite"><?php
echo smarty_function_widget(array('id' => "shop/catenav", 'tpl' => "mall/block/catenav.html"), $_smarty_tpl);
?>
</div>
<!-- 左面结束 -->
<!-- 右面开始 -->
<div class="mall_main_t_r lt hauto ml10">
<div class="mall_main_t_r_t hauto">
<!--右面上方的banner开始-->
<div class="mall_main_r_banner lt">
<div class="mall_main_r_banner_1 none" id="mall_main_r_banner_1" kinBox='{"height":230}'><?php
echo smarty_function_widget(array('id' => "adv", 'name' => "商城首页头部轮转广告", 'limit' => 5), $_smarty_tpl);
?>
</div>
</div>
<!--右面上方的banner结束-->
<!-- 右面上方右面开始-->
<div class="mall_sale lt hauto ml10 bgwhite">
<div class="mall_sale_t bodr_b">
<ul>
<li><a class="black">优惠券</a><b class="sanjiao">◆</b></li>
<li><a class="black">商城公告</a><b class="sanjiao">◆</b></li>
</ul>
<a href="<?php
echo smarty_function_link(array('ctl' => 'mall/coupon'), $_smarty_tpl);
?>
" class="a42" target="_blank">更多>></a>
</div>
<div class="mall_sale_b hauto mall_sale_b_1 none">
<ul>
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"));
$_block_repeat = true;
echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<li>
<a href="<{link ctl='mall/coupon:detail' arg0=$item.coupon_id}>" title="<{$item.title}>" target="_blank"><{$item.ext.shop.name}><i><{$item.money}>元优惠券</i></a>
</li>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_calldata(array('mdl' => "shop/coupon", 'city_id' => $_smarty_tpl->tpl_vars['request']->value['city_id'], 'order' => "hot", 'limit' => "8"), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
</ul>
</div>
<div class="mall_sale_b_b hauto mall_sale_b_2 none">
<ul>
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('calldata', array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"));
$_block_repeat = true;
echo smarty_block_calldata(array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<li><a href="<{link ctl='mall/news:detail' arg0=$item.news_id}>"><{$item.title}></a></li>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_calldata(array('mdl' => "shop/news", 'ext' => false, 'limit' => "7"), $_block_content, $_smarty_tpl, $_block_repeat);
}
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:95bfad20a13127b2f4876394217cb8ec759fab77.file.index.html.php
示例7: smarty_insert_block
/**
* Плагин для Smarty
* Подключает обработчик блоков шаблона (LS-compatible)
*
* @param array $aParams
* @param Smarty_Internal_Template $oSmarty
*
* @return string
*/
function smarty_insert_block($aParams, &$oSmarty)
{
if (!isset($aParams['block'])) {
trigger_error('Parameter "block" not define in {insert name="block" ...}', E_USER_WARNING);
return null;
}
$aParams['name'] = $aParams['block'];
if (!function_exists('smarty_function_widget')) {
F::IncludeFile(Config::Get('path.smarty.plug') . 'function.widget.php');
}
return smarty_function_widget($aParams, $oSmarty);
/*
$oEngine = Engine::getInstance();
$sWidget = ucfirst(basename($aParams['block']));
$sDelegatedClass = $oEngine->Plugin_GetDelegate('widget', $sWidget);
if ($sDelegatedClass == $sWidget) {
// Пробуем получить делегата по старинке, для совместимости с LS
// * LS-compatible * //
$sDelegatedClass = $oEngine->Plugin_GetDelegate('block', $sWidget);
}
// Если делегатов нет, то определаем класс виджета
if ($sDelegatedClass == $sWidget) {
// если указан плагин, то ищем там
if (isset($aParams['params']) && isset($aParams['params']['plugin'])) {
$sPlugin = $aParams['params']['plugin'];
} else {
$sPlugin = '';
}
// Проверяем наличие класса виджета штатными средствами
$sWidgetClass = E::Widget_FileClassExists($sWidget, $sPlugin, true);
if (!$sWidgetClass) {
if ($sPlugin) {
// Если класс виджета не найден, то пытаемся по старинке задать класс "LS-блока"
$sWidgetClass = 'Plugin' . ucfirst($aParams['params']['plugin']) . '_Block' . $sWidget;
} else {
// Если класс виджета не найден, то пытаемся по старинке задать класс "LS-блока"
$sWidgetClass = 'Block' . $sWidget;
}
// Проверяем делигирование найденного класса
$sWidgetClass = E::Plugin_GetDelegate('block', $sWidgetClass);
}
// Проверяем делигирование найденного класса
$sWidgetClass = $oEngine->Plugin_GetDelegate('widget', $sWidgetClass);
} else {
$sWidgetClass = $sDelegatedClass;
}
$sTemplate = $oEngine->Plugin_GetDelegate('template', 'widgets/widget.' . $aParams['block'] . '.tpl');
if (!F::File_Exists($sTemplate)) {
//$sTemplate = '';
// * LS-compatible * //
$sLsTemplate = $oEngine->Plugin_GetDelegate('template', 'blocks/block.' . $aParams['block'] . '.tpl');
if (F::File_Exists($sLsTemplate)) {
$sTemplate = $sLsTemplate;
}
}
// * параметры
$aWidgetParams = array();
if (isset($aParams['params'])) {
$aWidgetParams = $aParams['params'];
}
// * Подключаем необходимый обработчик
$oWidgetHandler = new $sWidgetClass($aWidgetParams);
// * Запускаем обработчик
$sResult = $oWidgetHandler->Exec();
// Если обработчик ничего не вернул, то рендерим шаблон
if (!$sResult && $sTemplate)
$sResult = $oSmarty->fetch($sTemplate);
return $sResult;
*/
}
示例8: content_55d7ebc25a5291_16704652
function content_55d7ebc25a5291_16704652($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
?>
<?php
echo $_smarty_tpl->getSubTemplate("block/newhead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<!-- header 完 -->
<div class="kouhao" style="margin-top: 0px">
<p><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/images/kouhao.jpg"></p>
</div>
<div id="bidding">
<div class="bi-main" style="padding-top: 0px">
<div class="bi-left">
<img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/images/baojia2.jpg" />
<!-- <p class="bi-title">免费发布招标!选择优质服务!</p>
<ul>
<li><img src="images/kou.png"><span><p>营业执照认证</p><p>办公场地实地认证</p><p>工程质量保障金-24小时先行赔付计划</p></span></li>
<li><img src="images/design.png"><span><p>专业设计师免费测量全房尺寸,合理规划空间</p><p>免费出3套设计方案对比,直至满意为止</p><p>亿家网设计联盟专业点评,规避隐患</p></span></li>
<li><img src="images/moneys.png"><span><p>精准需求,业主预算内报价</p><p>三家公司同时报价PK,有效挤掉报价水分</p><p>亿家网工程部帮助审核报价</p></span></li>
<li><img src="images/se.png"><span><p>在线工地管理系统,实时监管 </p><p>百万工程质量保障金,随时候命</p><p>第三方监理多节点免费验收服务</p></span></li>
<div class="clear"></div>
</ul> -->
</div>
<div class="bi-right">
<form method="post" action="<?php
echo smarty_function_link(array('ctl' => 'tenders:save', 'http' => 'empty'), $_smarty_tpl);
?>
" class="bi-form">
<!-- 获取城市来源-->
<input type="hidden" value="<?php
echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
?>
" name="data[cityName]" />
<!-- 判断短信类型 1 为 免费量房、免费设计和报价-->
<input type="hidden" value="1" name="data[leiyuang]" />
<input type="hidden" id='tenders_type_id' name='data[type_id]' value="1" />
<p class="tit"><b>我要招标</b><span>目前已帮助<font>23789</font> 户业主</span></p>
<ul>
<ol><label>我的称呼:</label><input type="text"id="input-name6" class="bi-input" name="data[name]" /></ol>
<ol><label>联系电话:</label><input type="text"id="input-mobile6" class="bi-input" name="data[mobile]" /></ol>
<ol><label>招标类型:</label>
<div id="divselect1" class="bi-selected">
<select name="data[type_id]" style="width:96px;height:30px" >
<option value="0">请选择</option>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
$_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['type']];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option value="<?php
echo $_smarty_tpl->tpl_vars['key']->value;
?>
"><?php
echo $_smarty_tpl->tpl_vars['item']->value;
?>
</option>
<?php
}
?>
</select>
<!-- <cite>请选择</cite>
<ul>
<li><a href="javascript:;" selectid="家庭装修">家庭装修</a></li>
<li><a href="javascript:;" selectid="办公装修">办公装修</a></li>
<li><a href="javascript:;" selectid="酒店装修">酒店装修</a></li>
<li><a href="javascript:;" selectid="酒吧KTV">酒吧KTV</a></li>
<li><a href="javascript:;" selectid="店铺装修">店铺装修</a></li>
<li><a href="javascript:;" selectid="旧房改造">旧房改造</a></li>
</ul>-->
</div>
</ol>
<ol><label>装修预算:</label>
<div id="divselect2" class="bi-selected">
<select name="data[budget_id]" style="width:96px;height:30px">
<option value="0">请选择</option>
<?php
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:51005b67af42147c86c9db971c986fe15e9ff10d.file.tenders.html.php
示例9: content_55d7f19bcb27b1_97922817
function content_55d7f19bcb27b1_97922817($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
?>
<ul id="mall_cate_nav">
<?php
$_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['v']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['data']->value['items'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
<li>
<div class="mall_main_l_l">
<h3><span class="basic_jiancai"></span><span><?php
echo $_smarty_tpl->tpl_vars['v']->value['title'];
?>
</span><span class="dayu">></span></h3>
<p class="cl"></p>
<p>
<?php
$_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['vv']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['v']->value['childrens'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['vv']->total = $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['vv']->iteration = 0;
foreach ($_from as $_smarty_tpl->tpl_vars['vv']->key => $_smarty_tpl->tpl_vars['vv']->value) {
$_smarty_tpl->tpl_vars['vv']->_loop = true;
$_smarty_tpl->tpl_vars['vv']->iteration++;
$_smarty_tpl->tpl_vars['vv']->last = $_smarty_tpl->tpl_vars['vv']->iteration === $_smarty_tpl->tpl_vars['vv']->total;
?>
<?php
if ($_smarty_tpl->tpl_vars['vv']->value['parent_id'] == $_smarty_tpl->tpl_vars['v']->value['cat_id']) {
?>
<a href="<?php
echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['vv']->value['cat_id']), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['vv']->value['title'];
?>
</a><?php
if (!$_smarty_tpl->tpl_vars['vv']->last && $_smarty_tpl->tpl_vars['vv']->iteration < 3) {
?>
<i>|</i><?php
}
?>
<?php
}
if ($_smarty_tpl->tpl_vars['vv']->iteration > 3) {
break 1;
}
}
?>
</p>
</div>
<div class="mall_main_l_r bgwhite none mall_menu_0">
<h2><?php
echo $_smarty_tpl->tpl_vars['v']->value['title'];
?>
</h2>
<p>
<?php
$_smarty_tpl->tpl_vars['vv'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['vv']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['v']->value['childrens'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['vv']->total = $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['vv']->iteration = 0;
foreach ($_from as $_smarty_tpl->tpl_vars['vv']->key => $_smarty_tpl->tpl_vars['vv']->value) {
$_smarty_tpl->tpl_vars['vv']->_loop = true;
$_smarty_tpl->tpl_vars['vv']->iteration++;
$_smarty_tpl->tpl_vars['vv']->last = $_smarty_tpl->tpl_vars['vv']->iteration === $_smarty_tpl->tpl_vars['vv']->total;
if ($_smarty_tpl->tpl_vars['vv']->value['parent_id'] == $_smarty_tpl->tpl_vars['v']->value['cat_id']) {
?>
<a href="<?php
echo smarty_function_link(array('ctl' => 'mall/product', 'arg0' => $_smarty_tpl->tpl_vars['vv']->value['cat_id']), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['vv']->value['title'];
?>
</a><?php
if (!$_smarty_tpl->tpl_vars['vv']->last) {
?>
<i>|</i><?php
}
}
}
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:6d781da18dd9d3e8c58dc480556a3516f8fc21db.file.catenav.html.php
示例10: content_55d7dc6bf31c57_20903834
function content_55d7dc6bf31c57_20903834($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
echo $_smarty_tpl->getSubTemplate("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<div class="page-title">
<table width="100%" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="30" align="right"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['url'];
?>
/images/main-h5-ico.gif" alt="" /></td>
<th><?php
echo $_smarty_tpl->tpl_vars['MOD']->value['title'];
?>
</th>
<td align="right"><?php
echo smarty_function_link(array('ctl' => "tenders/tenders:index", 'priv' => "hidden", 'class' => "button"), $_smarty_tpl);
?>
</td>
<td width="15"></td>
</tr>
</table>
</div>
<div class="page-data"><form action="?tenders/tenders-create.html" mini-form="tenders-form" method="post" >
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr><th>标题:</th><td><input type="text" name="data[title]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['title']) === null || $tmp === '' ? '' : $tmp;
?>
" class="input w-300"/></td></tr>
<tr><th class="w-100">城市:</th><td>
<label>城市:<select name="data[city_id]" class="w-100"><?php
echo smarty_function_widget(array('id' => "data/city", 'value' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
?>
</select></label>
<label>地区:<select name="data[area_id]" class="w-100"><?php
echo smarty_function_widget(array('id' => "data/area", 'value' => $_smarty_tpl->tpl_vars['detail']->value['area_id'], 'city_id' => $_smarty_tpl->tpl_vars['detail']->value['city_id']), $_smarty_tpl);
?>
</select></label>
</td></tr>
<tr>
<th>所属会员:</th>
<td>
<input type="hidden" name="data[uid]" value="0" id="company_member_id" />
<input type="text" value="" id="company_member_uname" class="input w-300"/>
<?php
echo smarty_function_link(array('ctl' => "member/member:dialog", 'select' => "mini:#company_member_id,#company_member_uname/N/选择用户", 'title' => "选择用户", 'class' => "button"), $_smarty_tpl);
?>
</td>
</tr>
<tr><th>称呼:</th><td><input type="text" name="data[name]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['name']) === null || $tmp === '' ? '' : $tmp;
?>
" class="input w-300"/></td></tr>
<tr><th><span class="red">*</span>手机:</th><td><input type="text" name="data[mobile]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['mobile']) === null || $tmp === '' ? '' : $tmp;
?>
" class="input w-300"/></td></tr>
<tr><th>小区:</th>
<td>
<input type="hidden" name="data[home_id]" value="0" id="case_home_id"/>
<input type="text" name="data[home_name]" value="" id="case_home_name" class="input w-300"/>
<?php
echo smarty_function_link(array('ctl' => "home/main:dialog", 'select' => "mini:#case_home_id,#case_home_name/N/选择小区", 'class' => "button"), $_smarty_tpl);
?>
</td>
</tr>
<tr>
<th>
招标类型:
</th>
<td>
<select name="data[type_id]" class="select w-100">
<option value="0">请选择</option>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
$_from = $_smarty_tpl->tpl_vars['setting']->value[$_smarty_tpl->tpl_vars['type']->value['type']];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<option <?php
if ($_smarty_tpl->tpl_vars['detail']->value['type_id'] == $_smarty_tpl->tpl_vars['key']->value) {
?>
selected="selected" <?php
}
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:fe77a488de312c2467efd9bcf4509c4ab08ab71e.admin.create.html.php
示例11: content_55d7ebd5e88692_01068018
function content_55d7ebd5e88692_01068018($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_modifier_format')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/modifier.format.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<!----------头部和导航公共部分------------>
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">
<!-- 你所在的位置开始 -->
<div class="w1000 mt15 bgwhite ask_list_weizhi">
<span class="span11 icobg block_lt"></span>
<span class="block_lt">您当前所在的位置:</span>
<a title="<?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
?>
" href="\" class="block_lt"><?php
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
?>
</a>
<span class="block_lt">></span>
<a title="学装修" href="<?php
echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
?>
" class="block_lt">学装修</a>
<span class="block_lt">></span>
<a title="装修学堂" href="<?php
echo smarty_function_link(array('ctl' => 'content:items'), $_smarty_tpl);
?>
" class="block_lt">装修学堂</a>
<?php
if ($_smarty_tpl->tpl_vars['detai']->value['cat_title']) {
?>
<span class="block_lt">></span>
<a href="<?php
echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['cat_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['detai']->value['cat_title'];
?>
" class="block_lt"><?php
echo $_smarty_tpl->tpl_vars['detai']->value['cat_title'];
?>
</a>
<?php
}
?>
<span class="block_lt">></span>
<a href="<?php
echo smarty_function_link(array('ctl' => 'content:detail', 'arg0' => $_smarty_tpl->tpl_vars['detail']->value['article_id']), $_smarty_tpl);
?>
" title="<?php
echo $_smarty_tpl->tpl_vars['detail']->value['title'];
?>
" class="block_lt"><?php
echo $_smarty_tpl->tpl_vars['detail']->value['title'];
?>
</a>
</div>
<div class="cl"></div>
<!-- 你所在的位置结束 -->
<div class="ask_detail_main w1000 mt15 hauto">
<!-- 位置结束左面下开始 -->
<div class="ask_detail_main_l hauto mt5 lt bgwhite">
<div class="learn_detail_l_t hauto bgwhite">
<div class="learn_detail_l_t_content hauto">
<h2><?php
echo $_smarty_tpl->tpl_vars['detail']->value['title'];
?>
</h2>
<p class="p54">
<span class="block_lt span63">
<font class="org"><?php
echo $_smarty_tpl->tpl_vars['detail']->value['views'];
?>
</font><font>人已浏览</font>
<font>时间 : </font><font><?php
echo smarty_modifier_format($_smarty_tpl->tpl_vars['detail']->value['dateline']);
?>
</font>
</span>
<span class="block rt span64">
<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone"></a><a href="#" class="bds_tsina" data-cmd="tsina"></a><a href="#" class="bds_tqq" data-cmd="tqq"></a><a href="#" class="bds_renren" data-cmd="renren"></a><a href="#" class="bds_t163" data-cmd="t163"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","t163"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","t163"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=86835285.js?cdnversion='+~(-new Date()/36e5)];</script>
</span>
</p>
<p class="cl"></p>
<p class="p55 bodr mt15 hauto">
导语:<?php
echo $_smarty_tpl->tpl_vars['detail']->value['desc'];
?>
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:a9f6423455d158a2575e47972039c7d0f5e156ee.file.detail.html.php
示例12: content_55d7ea5f295963_71629290
function content_55d7ea5f295963_71629290($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
?>
<?php
echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<!----------头部和导航公共部分------------>
<!-- 主题部分开始 -->
<div class="hauto index_b_bg">
<!-- 列表风格导航开始 -->
<div class="w1000 mt20 bgwhite">
<div class="hauto home_style">
<div class="seach_xq bodr_b">
<h2>找到小区,快速得到<font class="red">现成的</font>设计案例!</h2>
</div>
<div class="home_list_area hauto bodr_b_x mt10 mb10">
<span>区域 : </span>
<a href="<?php
echo $_smarty_tpl->tpl_vars['area_url']->value;
?>
" <?php
if (empty($_smarty_tpl->tpl_vars['url_data']->value['area_id'])) {
?>
class="a1"<?php
}
?>
>不限</a>
<?php
$_smarty_tpl->tpl_vars['v'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['v']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['area_list']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
<a title="<?php
echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
?>
小区列表" href="<?php
echo $_smarty_tpl->tpl_vars['v']->value['link'];
?>
" <?php
if ($_smarty_tpl->tpl_vars['v']->value['checked']) {
?>
class="a1"<?php
}
?>
><?php
echo $_smarty_tpl->tpl_vars['v']->value['area_name'];
?>
</a>
<?php
}
?>
</div>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['attr_values']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<div class="home_list_area hauto bodr_b_x mt10 mb10">
<span><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
: </span>
<a title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
小区" href="<?php
echo $_smarty_tpl->tpl_vars['item']->value['link'];
?>
" <?php
if ($_smarty_tpl->tpl_vars['item']->value['checked']) {
?>
class="a1"<?php
}
?>
>不限</a>
<?php
$_smarty_tpl->tpl_vars['it2'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['it2']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['item']->value['values'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:b23739b2424aa6ea1a00a548b05e11dd0cac8536.file.home_items.html.php
示例13: content_55d7ebac84c0a4_62475700
function content_55d7ebac84c0a4_62475700($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
echo $_smarty_tpl->getSubTemplate("block/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<!-- 主题部分开始 -->
<div class="index_b_bg hauto">
<!-- 装修步骤开始 -->
<div class="learn_decoration_buzhou hauto">
<div class="w1000 learn_decoration_buzhou_t hauto">
<h2>按装修流程学习</h2>
<div class="learn_decoration_buzhou_t_b hauto bgwhite">
<!-- 步骤一开始-->
<div class="learn_decoration_buzhou1 hauto">
<div class="ready_jieduan lt">
<font>装修前-准备阶段</font>
</div>
<span class="block_lt span67"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/default/static/images/jt2.png" /></span>
<div class="ready_jieduan_r lt">
<div class="ready_jieduan_r_t">
<div class="ready_jieduan_r_t1">
<span class="block_lt span68 orgbg"><font>收房准备中</font></span>
<span class="block_lt span69"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/default/static/images/jt2.png" /></span>
<span class="block_lt span70">
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['article_cates']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<?php
if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 16) {
?>
<a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
</a><font> | </font>
<?php
}
?>
<?php
}
?>
</span>
</div>
<div class="cl"></div>
<div class="ready_jieduan_r_t1 mt10">
<span class="block_lt span68 orgbg"><font>装修准备中</font></span>
<span class="block_lt span69"><img src="<?php
echo $_smarty_tpl->tpl_vars['pager']->value['theme'];
?>
/default/static/images/jt2.png" /></span>
<span class="block_lt span70">
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['article_cates']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<?php
if ($_smarty_tpl->tpl_vars['item']->value['parent_id'] == 17) {
?>
<a target="_blank" title="<?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
" href="<?php
echo smarty_function_link(array('ctl' => 'content:items', 'arg0' => $_smarty_tpl->tpl_vars['item']->value['cat_id']), $_smarty_tpl);
?>
"><?php
echo $_smarty_tpl->tpl_vars['item']->value['title'];
?>
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:4f245bfe74999ae214865bd5179686bdb4e82c87.file.index.html.php
示例14: content_55d7ecfe53efa0_84983890
function content_55d7ecfe53efa0_84983890($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_block_KT')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.KT.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
if (!is_callable('smarty_block_calldata')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/block.calldata.php';
}
?>
<?php
echo $_smarty_tpl->getSubTemplate("block/header_city.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
</div>
<!--logo结束-->
<div class="cl"></div>
<!--主题开始-->
<div class="index_b_bg hauto">
<!--城市切换开始-->
<div class="change_city_main_style hauto w1000">
<div class="change_city_main_style_t">
<span>亿家网猜您可能在<?php
echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
?>
,</span>
<a title="<?php
echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
echo $_smarty_tpl->tpl_vars['CONFIG']->value['site']['title'];
?>
" href="<?php
echo $_smarty_tpl->tpl_vars['allcity']->value[$_smarty_tpl->tpl_vars['request']->value['city_id']]['siteurl'];
?>
" class="goincity">点击进入<?php
echo $_smarty_tpl->tpl_vars['request']->value['city']['city_name'];
?>
站</a>
<ul>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'gs'), $_smarty_tpl);
?>
">装修公司 </a></li>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'tenders'), $_smarty_tpl);
?>
">免费设计</a></li>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'zb'), $_smarty_tpl);
?>
">免费报价</a></li>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'case'), $_smarty_tpl);
?>
">装修效果图</a></li>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'ask'), $_smarty_tpl);
?>
">装修问答</a></li>
<li><a href="<?php
echo smarty_function_link(array('ctl' => 'content'), $_smarty_tpl);
?>
">学装修</a></li>
</ul>
<div class="cl"></div>
</div>
<div class="chanage_city_main_style_b hauto">
<div class="jianyuecity hauto" style="width:1195px">
<span>热门城市</span>
<ul>
<?php
$_smarty_tpl->tpl_vars['item3'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item3']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['allcity']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['item3']->iteration = 0;
foreach ($_from as $_smarty_tpl->tpl_vars['item3']->key => $_smarty_tpl->tpl_vars['item3']->value) {
$_smarty_tpl->tpl_vars['item3']->_loop = true;
$_smarty_tpl->tpl_vars['item3']->iteration++;
?>
<?php
if ($_smarty_tpl->tpl_vars['item3']->value['audit'] == 1) {
?>
<li><a href="<?php
echo $_smarty_tpl->tpl_vars['item3']->value['siteurl'];
?>
"><?php
echo $_smarty_tpl->tpl_vars['item3']->value['city_name'];
?>
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:75a602f5524a868b24769c8f354cade5b02b801d.file.city.html.php
示例15: content_55d81833ac3237_29017125
function content_55d81833ac3237_29017125($_smarty_tpl)
{
if (!is_callable('smarty_function_link')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.link.php';
}
if (!is_callable('smarty_function_widget')) {
include '/www/wwwroot/www.fzgxw.com/system/plugins/smarty/function.widget.php';
}
echo $_smarty_tpl->getSubTemplate("ucenter/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
?>
<div class="base_info"><b>发布案例</b></div>
<form mini-form="company" action="<?php
echo smarty_function_link(array('ctl' => 'ucenter/case:create', 'http' => true), $_smarty_tpl);
?>
" method="post">
<div class="page-data" style=" margin-top: 10px;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li><a href="#table-info">基本信息</a></li>
<li><a href="#table-attr">属性信息</a></li>
<li><a href="#table-seo">SEO信息</a></li>
</ul>
<table width="100%" border="0" cellspacing="0" class="form" id="table-info">
<tr><th><span class="red">*</span>标题:</th><td><input type="text" name="data[title]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['title']) === null || $tmp === '' ? '' : $tmp;
?>
" class="input w-400"/></td></tr>
<tr>
<th>设计师:</th>
<td>
<select name='data[designer_id]' class="input">
<option value="0">请选择</option>
<?php
$_smarty_tpl->tpl_vars['designer'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['designer']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['designers']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['designer']->key => $_smarty_tpl->tpl_vars['designer']->value) {
$_smarty_tpl->tpl_vars['designer']->_loop = true;
?>
<option value="<?php
echo $_smarty_tpl->tpl_vars['designer']->value['uid'];
?>
"><?php
echo $_smarty_tpl->tpl_vars['designer']->value['realname'];
?>
</option>
<?php
}
?>
</select>
</td>
</tr>
<tr><th>小区:</th>
<td>
<input type="hidden" name="data[home_id]" id="select_home_id" value="0" />
<input type="text" id="select_home_name" value="0" class="input"/>
<a class="yzmbtn" action="<?php
echo smarty_function_link(array('ctl' => 'ucenter/select:home'), $_smarty_tpl);
?>
" mini-select="#select_home_id,#select_home_name/N/<?php
echo $_smarty_tpl->tpl_vars['company']->value['city_id'];
?>
/选择小区"/>选择小区</a><br />
</td>
</tr>
<tr>
<th>户型图:</th>
<td>
<input type="hidden" id="select_huxing_id" value="0" name='data[huxing_id]'/>
<input type="text" id="select_huxing_name" value="0" class="input"/>
<img src="###" id="select_huxing_photo" class="w-50"/>
<a class="yzmbtn" action="<?php
echo smarty_function_link(array('ctl' => 'ucenter/select:huxing', 'arg0' => '#home_id#', 'arg1' => '1'), $_smarty_tpl);
?>
" id="select_huxing_btn"/>选择户型图</a><br />
</td>
</tr>
<tr><th>设计思路:</th><td><textarea name="data[intro]" class="textarea"><?php
echo $_smarty_tpl->tpl_vars['detail']->value['intro'];
?>
</textarea><br /></td></tr>
<tr><th class="clear-th-bottom"></th><td class="clear-td-bottom" colspan="10"><input type="submit" value="保存" class="set_btn" /></td></tr>
</table>
<table width="100%" border="0" cellspacing="0" class="table-data form" id="table-seo" style="display:none;">
<tr><th>seo_title:</th><td><input type="text" name="data[seo_title]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['seo_title']) === null || $tmp === '' ? '' : $tmp;
?>
" class="input w-500"/></td></tr>
<tr><th>seo_keywords:</th><td><input type="text" name="data[seo_keywords]" value="<?php
echo ($tmp = @$_smarty_tpl->tpl_vars['detail']->value['seo_keywords']) === null || $tmp === '' ? '' : $tmp;
//.........这里部分代码省略.........
开发者ID:a195474368,项目名称:ejiawang,代码行数:101,代码来源:5451f0ab56eb885ed05f412e0d49cdb9321dcf8b.file.create.html.php