本文整理汇总了PHP中hg_load_template函数的典型用法代码示例。如果您正苦于以下问题:PHP hg_load_template函数的具体用法?PHP hg_load_template怎么用?PHP hg_load_template使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了hg_load_template函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hg_null_search
function hg_null_search($search_content)
{
include hg_load_template('null_search');
}
示例2: do_showMessages
public function do_showMessages()
{
$u_id = intval($this->input['u_id']);
$id = intval($this->input['id']);
$user_ = new user();
$info = $user_->getUserById($u_id);
$info = $info[0];
$to_name = $info['username'];
include_once ROOT_PATH . 'lib/messages/messages.class.php';
$mMessages = new messages();
$mm = $mMessages->get_one_msg($id);
$mm = $mm[0];
$key = array_keys($mm);
$salt_str = $key[0];
$user_info = $this->user;
$messages = $mm[$salt_str];
ob_start();
include hg_load_template("user_dialog");
$html = ob_get_contents();
ob_end_clean();
echo $html . '[[[------------]]]' . $salt_str . '[[[------------]]]' . $to_name;
}
示例3: hg_load_template
<div class="fixedBox">
<div class="MMessageUser">
<ul id="dialogMinimizeContainer"></ul>
</div>
</div>
</div>
<div class="footer clear">
<div class="bottom">
<ul class="copy_txt">
<li class="cp_atxt"><a href="http://www.hoolo.tv/public/gyhlw/" target="_blank">关于葫芦</a> | <a href="http://www.hoolo.tv/public/wzdt/" target="_blank"> 网站地图</a> | <a href="http://www.hoolo.tv/public/bqsm/" target="_blank"> 版权申明</a> | <a href="http://www.hoolo.tv/public/yqlj/" target="_blank"> 友情链接</a> | <a href="http://www.hoolo.tv/public/gghz/" target="_blank">广告合作</a> | <a href="http://www.hoolo.tv/public/lxwm/" target="_blank"> 联系我们</a> | <a href="http://www.hoolo.tv/public/cpyc/" target="_blank"> 诚聘英才</a> | <a href="http://www.hoolo.tv/public/yhxy/" target="_blank"> 用户协议</a></li>
<li class="cp_btxt">杭州文广集团 梦想传媒有限责任公司 版权所有 2010-2011 浙ICP备10043234-2 视听内容来源:杭州文广网</li>
</ul>
</div>
</div>
<input type="hidden" name="push_flag" id="push_flag" value="0" />
<!-- end wrap -->
<?php
include hg_load_template('tips');
include hg_load_template('report');
?>
<div id="desktop"></div>
<?php
echo hg_add_foot_element('echo');
?>
</div>
<?php
echo $this->settings['stat_code'];
?>
</body>
</html>
示例4: hg_load_template
<p>对不起,可能因为以下原因:</p>
<p style="color:#e64648"><?php
echo $message;
?>
</p>
</div>
<ul>
<li class="text">您可以:</li>
<li><a href="<?php
echo $url;
?>
">返回上一页</a></li>
<li><a href="javascript:void(0);" onclick="closeWindow();">关闭本页</a></li>
<!-- <li><a>到帮助中心寻求答案</a></li>
<li><a>给我们提建议</a></li>-->
</ul>
</div>
<div class="common">
<!--<h3>常见问题</h3>
<ul>
<li><a>我没有收到信息怎么办?</a></li>
<li><a>我没有收到信息怎么办?</a></li>
<li><a>我没有收到信息怎么办?</a></li>
<li><a>我没有收到信息怎么办?</a></li>
<li><a>我没有收到信息怎么办?</a></li>
</ul>-->
</div>
</div>
<?php
include hg_load_template('foot');
示例5: hg_load_template
<?php
/* $Id: callback.tpl.php 2774 2011-03-15 06:58:54Z wang $ */
?>
<?php
include hg_load_template('head');
?>
<div class="content clear" id="equalize">
<div class="content-left" style="background-color:white;margin:10px;padding:10px;">
<?php
if ($is_bind) {
?>
<p>授权完成,恭喜你已成功绑定新浪点滴!</p>
<a href="index.php">返回你的点滴发布页面,即可同步发表点滴!</a>
<?php
} else {
?>
<p>对不起,绑定失败!</p>
<?php
}
?>
</div>
</div>
示例6: hg_load_template
?>
img/smiles/17.gif">
<a style="color:white;" href="javascript:void(0);">表情</a>
</span>
<textarea name="status" id="status" style="width:387px;height:50px;*width:385px;"></textarea>
<p style="text-align:right;margin-top:5px;">
<span id="user_name" style="color:white;font-size:13px;font-weight:bold;font-family:Arial,Verdana,Tahoma,Simsun,sans-serif;"><?php
echo $this->user['username'] == '游客' ? '' : $this->user['username'];
?>
</span> <span style="color: #989898; display: inline-block; float: left; line-height: 25px;width: 200px; margin-left: 40px;">ctrl+Enter发言</span>
<a id="publish" href="#" onclick="dispubUserStatus();return false;"><img src="<?php
echo MAIN_URL;
?>
res/default/images/zhi_btn9.jpg" /></a>
</p>
</div>
</div>
<?php
}
?>
<div id="face" class="face_content" style="background-color:white;position: absolute;display:none;"></div>
<?php
include hg_load_template('tips');
echo hg_add_foot_element('echo');
?>
</body>
</html>
示例7: hg_load_template
">
<div class="blog-content">
<p class="subject clear"><a href="<?php
echo $user_url;
?>
"><?php
echo $value['user']['username'];
?>
</a>
<?php
echo $text_show . "<br/>";
?>
</p>
<?php
include hg_load_template('statusline_content');
?>
<div class="speak clear">
<div class="hidden" id="t_<?php
echo $value['id'];
?>
"><?php
echo hg_verify($title);
?>
</div>
<div class="hidden" id="f_<?php
echo $value['id'];
?>
"><?php
echo $forward_show;
示例8: hg_load_template
<tr>
<td></td>
<td height="40" valign="bottom">
<input id="login_bt" tabindex="13" class="login-input" type="submit" value=" " name="submit"/>
<?php
if ($this->settings['qq_login']) {
?>
<a href="<?php
echo SNS_UCENTER . "qq_login.php?a=redirect_to_login";
?>
"><img style="margin-left:10px;margin-top:1px;" src="qq/img/qq_login.png"></a>
<?php
}
?>
</td>
</tr>
</table>
<input type="hidden" value="dologin" name="a" />
<input type="hidden" value="<?php
echo $this->input['referto'];
?>
" name="referto" />
</form>
</div>
<div class="content_bottom"></div>
</div>
<?php
include hg_load_template("foot");
示例9: hg_show_null
function hg_show_null($title, $text, $type = 0)
{
if (!$title) {
$title = 'sorry!!!';
}
$url = $_SERVER['HTTP_REFERER'];
include hg_load_template('null');
}
示例10: explode
{code}
$vv = explode("_",$key);
{/code}
<li class="" onclick="cpinit({$vv[1]})" id="cSli_{$vv[1]}">
<input type="text" disabled="disabled" class="set_pageBack" id="mainD_{$vv[1]}" style="border:0;background-color:{$val['color']}" >
<input type="hidden" id="mainF_{$vv[1]}" value="{$val['color']}" class="colorSet"/>
<div id="mainCP{$vv[1]}" ></div>
<p>{$val['name']}</p>
</li>
{/foreach}
</ul>
<input type="hidden" id="styleid" name="styleid" value="" />
<!--
<div class="defaultColor">
<a href="javascript:void(0);">恢复到默认颜色</a>
</div> -->
<div class="clear" style="margin-bottom: -79px;"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="MIB_bloga">
<div class="MIB_blogb"><?php
include hg_load_template("index");
?>
</div>
</div>
示例11: hg_load_template
<script type="text/javascript" src="<?php
echo RESOURCE_DIR;
?>
scripts/jquery.min.js"></script>
<?php
}
?>
<script type="text/javascript" src="<?php
echo RESOURCE_DIR . 'scripts/notify.js';
?>
"></script>
<div class="top_notice" id="notice_div" style="display:none;" >
<?php
if ($this->user['id'] > 0) {
?>
<div class="nav_notice">
<a class="close_x" onclick="hide_notice()"><img src="<?php
echo RESOURCE_DIR;
?>
img/close.jpg" title="关闭提示" onclick="hide_notice()"/></a>
<ul id="nav_002" >
<?php
include_once hg_load_template("notice");
?>
</ul>
</div>
<?php
}
?>
</div>