本文整理匯總了PHP中smarty_function_add_content函數的典型用法代碼示例。如果您正苦於以下問題:PHP smarty_function_add_content函數的具體用法?PHP smarty_function_add_content怎麽用?PHP smarty_function_add_content使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了smarty_function_add_content函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: content_55523ea58d3480_01969958
function content_55523ea58d3480_01969958($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.add_content.php';
}
if (!is_callable('smarty_function_component')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.component.php';
}
?>
<div class="clearfix"><?php
echo smarty_function_add_content(array('key' => 'photo.add_content.list.top', 'listType' => 'albums'), $_smarty_tpl);
?>
</div>
<?php
echo $_smarty_tpl->tpl_vars['pageHead']->value;
?>
<?php
echo smarty_function_component(array('class' => "PHOTO_CMP_PhotoList", 'type' => "albums", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<?php
}
開發者ID:bhushansonar,項目名稱:hammu,代碼行數:26,代碼來源:5cf9393a7b3a98370933ce8ca2a69e79a6277efb.file.photo_user_albums.html.php
示例2: content_548e87066a9fb4_65881457
function content_548e87066a9fb4_65881457($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
?>
<div class="ow_stdmargin">
<?php
echo $_smarty_tpl->tpl_vars['groupBriefInfo']->value;
?>
</div>
<?php
echo smarty_function_add_content(array('key' => 'groups.content.user_list.after_cap', 'groupId' => $_smarty_tpl->tpl_vars['groupId']->value), $_smarty_tpl);
?>
<?php
echo $_smarty_tpl->tpl_vars['listCmp']->value;
?>
<?php
echo smarty_function_add_content(array('key' => 'groups.content.user_list.bottom', 'groupId' => $_smarty_tpl->tpl_vars['groupId']->value), $_smarty_tpl);
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:26,代碼來源:f4af3d7b06e51477d35c9515de21f6ce7b7f1a1d.file.groups_user_list.html.php
示例3: content_548e8548a09337_53310095
function content_548e8548a09337_53310095($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (!is_callable('smarty_function_component')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.component.php';
}
?>
<div class="clearfix"><?php
echo smarty_function_add_content(array('key' => 'photo.add_content.list.top', 'listType' => 'albums'), $_smarty_tpl);
?>
</div>
<?php
echo $_smarty_tpl->tpl_vars['pageHead']->value;
?>
<?php
echo smarty_function_component(array('class' => "PHOTO_CMP_PhotoList", 'type' => "albums", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<?php
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:26,代碼來源:f8a6703a2ed6fa07cca1fe0c56b72bf22738b142.file.photo_user_albums.html.php
示例4: content_5490d5d140aed7_77823868
function content_5490d5d140aed7_77823868($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
echo smarty_function_add_content(array('key' => "mobile.content.profile_about_top", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<div class="owm_profile_block owm_bg_color_2">
<?php
echo $_smarty_tpl->tpl_vars['header']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['info']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['about']->value;
?>
</div>
<?php
echo smarty_function_add_content(array('key' => "mobile.content.profile_about_bottom", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<?php
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:28,代碼來源:483681d9da163b81cba8f60278ab421655a94404.file.user_about.html.php
示例5: content_555ad725184998_69506910
function content_555ad725184998_69506910($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.add_content.php';
}
if (!is_callable('smarty_function_component')) {
include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.component.php';
}
?>
<div class="clearfix"><?php
echo smarty_function_add_content(array('key' => 'photo.add_content.list.top', 'listType' => 'albums'), $_smarty_tpl);
?>
</div>
<?php
echo $_smarty_tpl->tpl_vars['pageHead']->value;
?>
<?php
echo smarty_function_component(array('class' => "PHOTO_CMP_PhotoList", 'type' => "albums", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<?php
}
開發者ID:bhushansonar,項目名稱:hammu,代碼行數:26,代碼來源:9a69e4de4f836d9f57f3ff54d1002f3c415d38dd.file.photo_user_albums.html.php
示例6: content_548e930d660498_58201202
function content_548e930d660498_58201202($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
?>
<?php
echo $_smarty_tpl->tpl_vars['menu']->value;
?>
<?php
}
?>
<?php
if (!empty($_smarty_tpl->tpl_vars['listType']->value)) {
echo smarty_function_add_content(array('key' => "base.mobile.user_list_top", 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
}
?>
<div class="owm_user_list owm_content_list owm_std_margin_bottom">
<?php
echo $_smarty_tpl->tpl_vars['list']->value;
?>
<div class="owm_user_list_preloader owm_preloader" style="visibility: hidden"></div>
</div>
<?php
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:30,代碼來源:100999dedfd62d868a04d1bb97b7d891845662f7.file.user_list_index.html.php
示例7: content_5490cd79698e16_19754975
function content_5490cd79698e16_19754975($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (!empty($_smarty_tpl->tpl_vars['authErrorText']->value)) {
?>
<div class="ow_anno ow_center">
<?php
echo $_smarty_tpl->tpl_vars['authErrorText']->value;
?>
</div>
<?php
} else {
?>
<?php
echo smarty_function_add_content(array('key' => 'event.content.user_list.top', 'eventId' => $_smarty_tpl->tpl_vars['eventId']->value), $_smarty_tpl);
?>
<?php
echo $_smarty_tpl->tpl_vars['users']->value;
?>
<?php
echo smarty_function_add_content(array('key' => 'event.content.user_list.bottom', 'eventId' => $_smarty_tpl->tpl_vars['eventId']->value), $_smarty_tpl);
?>
<?php
}
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:33,代碼來源:ab359ab2dbb9dc851ea61646625e18a26d3c7263.file.base_event_user_lists.html.php
示例8: content_559768f581f790_09280907
function content_559768f581f790_09280907($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.add_content.php';
}
if (!is_callable('smarty_function_text')) {
include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
}
if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
echo $_smarty_tpl->tpl_vars['menu']->value;
}
?>
<?php
echo smarty_function_add_content(array('key' => "base.content.user_list_top", 'listType' => 'usearch_search_result'), $_smarty_tpl);
?>
<?php
if (isset($_smarty_tpl->tpl_vars['searchResultMenu']->value)) {
?>
<?php
echo $_smarty_tpl->tpl_vars['searchResultMenu']->value;
?>
<?php
}
if ($_smarty_tpl->tpl_vars['page']->value > 1) {
?>
<div class="ow_fw_menu ow_center usearch_load_earlier_profiles">
<a href="javascript://"><?php
echo smarty_function_text(array('key' => "usearch+load_earlier_profiles"), $_smarty_tpl);
?>
</a>
</div>
<?php
}
if ($_smarty_tpl->tpl_vars['itemCount']->value) {
?>
<div class="ow_search_results_photo_gallery_container ow_photo_list_wrap ow_photo_userlist">
<?php
echo $_smarty_tpl->tpl_vars['cmp']->value;
?>
</div>
<?php
} else {
?>
<div class="ow_nocontent"><?php
echo smarty_function_text(array('key' => "usearch+no_users_found", 'searchUrl' => $_smarty_tpl->tpl_vars['searchUrl']->value), $_smarty_tpl);
?>
</div>
<?php
}
}
開發者ID:bhushansonar,項目名稱:hammu,代碼行數:57,代碼來源:1434469e6426193f5396af36fdca86c392ebeaa2.file.search_search_result.html.php
示例9: content_548e875f052f74_71848118
function content_548e875f052f74_71848118($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
?>
<div class="clearfix"><?php
echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'group'), $_smarty_tpl);
?>
</div>
<?php
echo $_smarty_tpl->tpl_vars['groupCmp']->value;
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:14,代碼來源:1150fe2ae1d675d580d495927af2c51c65ba721e.file.group_index.html.php
示例10: content_548e9f17832999_33170959
function content_548e9f17832999_33170959($_smarty_tpl)
{
if (!is_callable('smarty_block_style')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php';
}
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
$_smarty_tpl->smarty->_tag_stack[] = array('style', array());
$_block_repeat = true;
echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
.newsfeed_item_view
{
width: 600px;
}
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
<div class="clearfix">
<div class="newsfeed_item_view ow_left">
<?php
echo $_smarty_tpl->tpl_vars['action']->value;
?>
</div>
<div class="ow_right">
<?php
echo smarty_function_add_content(array('key' => 'socialsharing.get_sharing_buttons'), $_smarty_tpl);
?>
<?php
echo smarty_function_add_content(array('key' => 'newsfeed.item.content.right', 'entityType' => $_smarty_tpl->tpl_vars['entity']->value['type'], 'entityId' => $_smarty_tpl->tpl_vars['entity']->value['id']), $_smarty_tpl);
?>
</div>
</div><?php
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:49,代碼來源:c2cfeef318de928c3c71948f8172ed30fa7930aa.file.feed_view_item.html.php
示例11: content_548e92ac5ba234_97662752
function content_548e92ac5ba234_97662752($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (!empty($_smarty_tpl->tpl_vars['permissionMessage']->value)) {
?>
<div class="owm_padding">
<div class="owm_box_nocap owm_anno">
<?php
echo $_smarty_tpl->tpl_vars['permissionMessage']->value;
?>
</div>
</div>
<?php
} else {
?>
<?php
echo smarty_function_add_content(array('key' => "mobile.content.profile_view_top", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<div class="owm_profile_block owm_bg_color_1">
<?php
echo $_smarty_tpl->tpl_vars['header']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['info']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['about']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['contentMenu']->value;
?>
</div>
<?php
echo smarty_function_add_content(array('key' => "mobile.content.profile_view_bottom", 'userId' => $_smarty_tpl->tpl_vars['userId']->value), $_smarty_tpl);
?>
<?php
}
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:47,代碼來源:bc7bfe6c56ad8d09d996f631bf4528927477e43b.file.user_profile.html.php
示例12: content_548e63257da261_11814033
function content_548e63257da261_11814033($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (!is_callable('smarty_function_decorator')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
}
if (!is_callable('smarty_function_component')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.component.php';
}
?>
<div class="clearfix"><?php
echo smarty_function_add_content(array('key' => 'video.add_content.list.top', 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
?>
</div>
<?php
if ($_smarty_tpl->tpl_vars['showAddButton']->value) {
?>
<div class="ow_right"><?php
echo smarty_function_decorator(array('name' => 'button', 'class' => 'ow_ic_add', 'id' => 'btn-add-new-video', 'langLabel' => 'video+add_new'), $_smarty_tpl);
?>
</div>
<?php
}
?>
<?php
echo $_smarty_tpl->tpl_vars['videoMenu']->value;
?>
<?php
echo smarty_function_add_content(array('key' => 'video.content.list.after_menu', 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
?>
<?php
echo smarty_function_component(array('class' => 'VIDEO_CMP_VideoList', 'type' => $_smarty_tpl->tpl_vars['listType']->value, 'count' => 5), $_smarty_tpl);
?>
<?php
echo smarty_function_add_content(array('key' => 'video.content.list.bottom', 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:46,代碼來源:c36504dc3ca7ca78c114ed026a83230bddd596e9.file.video_view_list.html.php
示例13: content_548e5aceb222d8_92650422
function content_548e5aceb222d8_92650422($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
?>
<?php
echo $_smarty_tpl->tpl_vars['menu']->value;
?>
<?php
}
?>
<?php
if (!empty($_smarty_tpl->tpl_vars['listType']->value)) {
echo smarty_function_add_content(array('key' => "base.content.user_list_top", 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
}
?>
<?php
echo $_smarty_tpl->tpl_vars['cmp']->value;
}
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:24,代碼來源:faaa339abcabdeefb04f979acb7871442156b36b.file.user_list_index.html.php
示例14: content_55d5752126e0c0_55905589
function content_55d5752126e0c0_55905589($_smarty_tpl)
{
if (!is_callable('smarty_function_add_content')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.add_content.php';
}
if (isset($_smarty_tpl->tpl_vars['menu']->value)) {
?>
<?php
echo $_smarty_tpl->tpl_vars['menu']->value;
?>
<?php
}
?>
<?php
if (!empty($_smarty_tpl->tpl_vars['listType']->value)) {
echo smarty_function_add_content(array('key' => "base.content.user_list_top", 'listType' => $_smarty_tpl->tpl_vars['listType']->value), $_smarty_tpl);
}
?>
<?php
echo $_smarty_tpl->tpl_vars['cmp']->value;
}
開發者ID:hardikamutech,項目名稱:hammu,代碼行數:24,代碼來源:dedb8decb126c90171eee9af10420b9ce84e8df4.file.user_list_index.html.php
示例15: content_548f13bff23223_15546173
function content_548f13bff23223_15546173($_smarty_tpl)
{
if (!is_callable('smarty_block_block_decorator')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
}
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
if (!is_callable('smarty_function_add_content')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php';
}
if (!is_callable('smarty_function_url_for_route')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php';
}
if (!is_callable('smarty_function_decorator')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
}
?>
<div class="clearfix">
<div class="ow_superwide" style="float:left;">
<?php
$_smarty_tpl->tpl_vars['post'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['post']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['list']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['post']->key => $_smarty_tpl->tpl_vars['post']->value) {
$_smarty_tpl->tpl_vars['post']->_loop = true;
?>
<?php
$_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['post']->value['id'], null, 0);
?>
<?php
$_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty", 'label' => $_smarty_tpl->tpl_vars['post']->value['title'], 'href' => $_smarty_tpl->tpl_vars['post']->value['href'], 'addClass' => "ow_stdmargin ow_stdpadding", 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value[$_smarty_tpl->tpl_vars['id']->value]));
$_block_repeat = true;
echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'label' => $_smarty_tpl->tpl_vars['post']->value['title'], 'href' => $_smarty_tpl->tpl_vars['post']->value['href'], 'addClass' => "ow_stdmargin ow_stdpadding", 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value[$_smarty_tpl->tpl_vars['id']->value]), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<?php
echo $_smarty_tpl->tpl_vars['post']->value['text'];
if ($_smarty_tpl->tpl_vars['post']->value['truncated']) {
?>
... <a class="ow_lbutton" href="<?php
echo $_smarty_tpl->tpl_vars['post']->value['href'];
?>
"><?php
echo smarty_function_text(array('key' => 'blogs+more'), $_smarty_tpl);
?>
</a><?php
}
?>
<?php
if (!empty($_smarty_tpl->tpl_vars['post']->value['parts']) && count($_smarty_tpl->tpl_vars['post']->value['parts']) > 1) {
?>
<br />
<a href="<?php
echo $_smarty_tpl->tpl_vars['post']->value['href'];
?>
"><?php
echo smarty_function_text(array('key' => "blogs+read_more"), $_smarty_tpl);
?>
</a> »
<?php
}
?>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty", 'label' => $_smarty_tpl->tpl_vars['post']->value['title'], 'href' => $_smarty_tpl->tpl_vars['post']->value['href'], 'addClass' => "ow_stdmargin ow_stdpadding", 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value[$_smarty_tpl->tpl_vars['id']->value]), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
?>
<?php
}
if (!$_smarty_tpl->tpl_vars['post']->_loop) {
?>
<?php
echo smarty_function_text(array('key' => 'base+empty_list'), $_smarty_tpl);
?>
<?php
}
?>
<div class="ow_stdmargin"><?php
echo $_smarty_tpl->tpl_vars['paging']->value;
?>
</div>
</div>
<div class="ow_supernarrow" style="float:right;">
//.........這裏部分代碼省略.........
開發者ID:jorgemunoz8807,項目名稱:havanabook,代碼行數:101,代碼來源:cfd4edc08a93680c00ae1f49695d50b827e5dc4c.file.user_blog_index.html.php