本文整理汇总了PHP中render_device函数的典型用法代码示例。如果您正苦于以下问题:PHP render_device函数的具体用法?PHP render_device怎么用?PHP render_device使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了render_device函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: explode
if (!isset($content['alink']['alink_id'])) {
$content['alink']['alink_id'] = explode(':', $crow['acontent_alink']);
}
if (is_array($content['alink']['alink_id']) && count($content['alink']['alink_id']) || !empty($content['alink']['alink_type']) && (is_array($content['alink']['alink_level']) && count($content['alink']['alink_level']) || isset($content['alink']['alink_category']) && count($content['alink']['alink_category']))) {
if (!isset($content['UNIQUE_ALINK'])) {
$content['UNIQUE_ALINK'] = array();
}
$crow['acontent_template_listmode'] = empty($crow['acontent_template_listmode']) ? false : true;
if ($crow['acontent_template_listmode'] && !empty($content['alink']['alink_template']) && is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/teaser/list.' . $content['alink']['alink_template'])) {
$content['alink']['alink_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/teaser/list.' . $content['alink']['alink_template']));
} elseif (!empty($content['alink']['alink_template']) && is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/teaser/' . $content['alink']['alink_template'])) {
$content['alink']['alink_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/teaser/' . $content['alink']['alink_template']));
} elseif ($crow['acontent_template_listmode'] && is_file(PHPWCMS_TEMPLATE . 'inc_default/list.teaser.tmpl')) {
$content['alink']['alink_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/list.teaser.tmpl'));
} elseif (is_file(PHPWCMS_TEMPLATE . 'inc_default/teaser.tmpl')) {
$content['alink']['alink_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/teaser.tmpl'));
} else {
$content['alink']['alink_template'] = '<!--TEASER_HEAD_START//--><ul{LINK_ARTICLE_CLASS}><!--TEASER_HEAD_END//-->';
$content['alink']['alink_template'] .= '<!--TEASER_ENTRY_START//--><li><a href="{ARTICLELINK}">{TITLE}</a></li><!--TEASER_ENTRY_END//-->';
$content['alink']['alink_template'] .= '<!--TEASER_ENTRY_SPACER_START//--><!--TEASER_ENTRY_SPACER_END//-->';
$content['alink']['alink_template'] .= '<!--TEASER_ROW_SPACER_START//--><!--TEASER_ROW_SPACER_END//-->';
$content['alink']['alink_template'] .= '<!--TEASER_FOOTER_START//--></ul><!--TEASER_FOOTER_END//-->';
$content['alink']['alink_template'] .= '<!--TEASER_COLUMN_OVERWRITE_START//--><!--TEASER_COLUMN_OVERWRITE_END//-->';
}
$content['alink']['tags_group_by'] = '';
$content['alink']['tags_where'] = '';
$content['alink']['date_basis'] = 'article_date';
$content['alink']['alink_categoryalias'] = empty($content['alink']['alink_categoryalias']) ? 0 : 1;
$alink_sql = "SELECT ar.*, UNIX_TIMESTAMP(ar.article_tstamp) AS article_date FROM " . DB_PREPEND . "phpwcms_article ar ";
// select by category
if (!empty($content['alink']['alink_category']) && count($content['alink']['alink_category'])) {
示例2: foreach
// try to include custom functions and replacement tags or what you want to do at this point of the script
// default dir: "phpwcms_template/inc_script/frontend_render"; only *.php files are allowed there
if ($phpwcms["allow_ext_render"]) {
if (count($custom_includes = get_tmpl_files(PHPWCMS_TEMPLATE . 'inc_script/frontend_render', 'php'))) {
foreach ($custom_includes as $value) {
include_once PHPWCMS_TEMPLATE . 'inc_script/frontend_render/' . $value;
}
}
}
if (count($phpwcms['modules_fe_render'])) {
foreach ($phpwcms['modules_fe_render'] as $value) {
include_once $value;
}
}
// Final Render Device
$content['all'] = render_device($content['all']);
// And again check against possible {PHP needs to be rendered
if (strpos($content['all'], 'PHP') !== false) {
$content['all'] = render_PHPcode($content["all"]);
}
// render frontend edit related content and JavaScript
if (FE_EDIT_LINK) {
init_frontend_edit_js();
$content['all'] .= LF . '<div id="fe-link" class="disabled"></div>' . LF;
}
// insert description meta tag if not definied
if (empty($block['custom_htmlhead']['meta.description']) && !empty($content["struct"][$aktion[0]]["acat_info"]) && !stristr($block["htmlhead"], '"description"')) {
$content['opengraph']['description'] = $content["struct"][$aktion[0]]["acat_info"];
set_meta('description', $content["struct"][$aktion[0]]["acat_info"]);
}
// add structure level keywords
示例3: die
* @license http://opensource.org/licenses/GPL-2.0 GNU GPL-2
* @link http://www.phpwcms.de
*
**/
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
//image with text
// read template
if (empty($crow["acontent_template"]) && is_file(PHPWCMS_TEMPLATE . 'inc_default/imagetext.tmpl')) {
$crow["acontent_template"] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/imagetext.tmpl'));
} elseif (is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/imagetext/' . $crow["acontent_template"])) {
$crow["acontent_template"] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/imagetext/' . $crow["acontent_template"]));
} else {
$crow["acontent_template"] = '[IMAGETEXT]<div class="image-with-text">{IMAGETEXT}</div>[/IMAGETEXT]';
}
$crow["settings"] = get_tmpl_section('IMAGETEXT_SETTINGS', $crow["acontent_template"]);
$crow["settings"] = parse_ini_str($crow["settings"], false);
$crow["acontent_template"] = replace_tmpl_section('IMAGETEXT_SETTINGS', $crow["acontent_template"]);
$crow["acontent_template"] = render_cnt_template($crow["acontent_template"], 'TITLE', html($crow['acontent_title']));
$crow["acontent_template"] = render_cnt_template($crow["acontent_template"], 'SUBTITLE', html($crow['acontent_subtitle']));
$crow["acontent_template"] = str_replace('{ID}', $crow["acontent_id"], $crow["acontent_template"]);
$crow['is_imagetext'] = strpos($crow["acontent_template"], '{IMAGETEXT}') !== false ? true : false;
$crow['has_image'] = false;
// 0 :1 :2 :3 :4 :5 :6 :7 :8
// dbid:filename:hash:extension:width:height:caption:position:zoom
$image = $crow["acontent_image"] ? explode(":", $crow["acontent_image"]) : false;
$crow["default_settings"] = array('class_top_left' => $template_default['classes']['imgtxt-top-left'], 'class_top_center' => $template_default['classes']['imgtxt-top-center'], 'class_top_right' => $template_default['classes']['imgtxt-top-right'], 'class_bottom_left' => $template_default['classes']['imgtxt-bottom-left'], 'class_bottom_center' => $template_default['classes']['imgtxt-bottom-center'], 'class_bottom_right' => $template_default['classes']['imgtxt-bottom-right'], 'class_float_left' => $template_default['classes']['imgtxt-left'], 'class_float_right' => $template_default['classes']['imgtxt-right'], 'class_column_left' => $template_default['classes']['imgtxt-column-left'], 'class_column_right' => $template_default['classes']['imgtxt-column-right'], 'class_column_left_image' => $template_default['classes']['imgtxt-column-left-image'], 'class_column_right_image' => $template_default['classes']['imgtxt-column-right-image'], 'class_column_left_text' => $template_default['classes']['imgtxt-column-left-text'], 'class_column_right_text' => $template_default['classes']['imgtxt-column-right-text'], 'width' => $image[4], 'height' => $image[5], 'zoom' => $image[8], 'crop' => 0, 'lightbox' => 0, 'nocaption' => 0);
示例4: die
**/
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
// tabs
$tabs = array();
$tabs['tabs'] = @unserialize($crow["acontent_form"]);
unset($tabs['tabs']['tabwysiwygoff']);
// read template
if (empty($crow["acontent_template"]) && is_file(PHPWCMS_TEMPLATE . 'inc_default/tabs.tmpl')) {
$tabs['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/tabs.tmpl'));
} elseif (is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/tabs/' . $crow["acontent_template"])) {
$tabs['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/tabs/' . $crow["acontent_template"]));
} else {
$tabs['template'] = '';
}
if ($tabs['template']) {
$tabs['entries'] = array();
$tabs['tmpl_entry'] = get_tmpl_section('TABS_ENTRY', $tabs['template']);
$tabs['template'] = get_tmpl_section('TABS', $tabs['template']);
foreach ($tabs['tabs'] as $key => $entry) {
$tabs['entries'][$key] = render_cnt_template($tabs['tmpl_entry'], 'TABTITLE', $entry['tabtitle'] == '-' ? '' : html_specialchars($entry['tabtitle']));
$tabs['entries'][$key] = render_cnt_template($tabs['entries'][$key], 'TABCONTENT', trim($entry['tabheadline'] . $entry['tabtext']) == '' ? '' : LF);
$tabs['entries'][$key] = render_cnt_template($tabs['entries'][$key], 'TABHEADLINE', html_specialchars($entry['tabheadline']));
$tabs['entries'][$key] = render_cnt_template($tabs['entries'][$key], 'TABTEXT', $entry['tabtext']);
if (empty($entry['tablink'])) {
$tabs['entries'][$key] = render_cnt_template($tabs['entries'][$key], 'TABLINK', '');
} else {
示例5: html
$CNT_TMP .= html($cnt_form['anchor_name']);
}
$CNT_TMP .= '"></a>';
}
$CNT_TMP .= headline($crow["acontent_title"], $crow["acontent_subtitle"], $template_default["article"]);
if (!empty($cnt_form['ssl']) && !PHPWCMS_SSL) {
headerRedirect($phpwcms['site_ssl_url'] . rel_url(), 301);
}
// save default form tracking status
$default_formtracking_value = $phpwcms['form_tracking'];
// check form related form tracking status
if (isset($cnt_form['formtracking_off']) && $cnt_form['formtracking_off'] == 1) {
$phpwcms['form_tracking'] = 0;
}
$form_error_text = '';
$form_cnt = $cnt_form['labelpos'] == 2 ? render_device($cnt_form['customform']) : '';
// set sender email address
if (empty($cnt_form['sendertype']) || $cnt_form['sendertype'] == 'system') {
$cnt_form['sender'] = $phpwcms['SMTP_FROM_EMAIL'];
} elseif ($cnt_form['sendertype'] == 'email' && !is_valid_email($cnt_form['sender'])) {
$cnt_form['sender'] = $phpwcms['SMTP_FROM_EMAIL'];
}
// basic sender name check
if (empty($cnt_form['sendernametype'])) {
$cnt_form['sendername'] = '';
$cnt_form['sendernametype'] = '';
} elseif ($cnt_form['sendernametype'] == 'system') {
$cnt_form['sendername'] = $phpwcms['SMTP_FROM_NAME'];
}
if (empty($cnt_form['sendername'])) {
$cnt_form['sendername'] = '';
示例6: urlencode
$file['fmp_file'] .= '&type=' . urlencode($file['f_type']);
if (BROWSER_OS == 'iOS') {
$file['fmp_file'] .= '&ios=/' . $file['f_name'];
}
return $file['fmp_file'];
}
return '';
}
}
$fmp_data = @unserialize($crow["acontent_form"]);
if (isset($fmp_data['fmp_template'])) {
// read template
if (empty($crow["acontent_template"]) && is_file(PHPWCMS_TEMPLATE . 'inc_default/flashplayer.tmpl')) {
$fmp_data['fmp_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/flashplayer.tmpl'));
} elseif (is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/flashplayer/' . $crow["acontent_template"])) {
$fmp_data['fmp_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/flashplayer/' . $crow["acontent_template"]));
} else {
$fmp_data['fmp_template'] = '[TITLE]<h3>{TITLE}</h3>[/TITLE][SUBTITLE]<h4>{SUBTITLE}</h4>[/SUBTITLE]{PLAYER}';
}
$fmp_data['fmp_set_html5only'] = empty($fmp_data['fmp_set_html5only']) ? false : true;
$fmp_data['fmp_set_audio'] = empty($fmp_data['fmp_set_audio']) ? 'video' : 'audio';
// Set some defaults used to build SwfObject Call
$fmp_data['flashvars'] = array();
$fmp_data['attributes'] = array();
$fmp_data['params'] = array();
$fmp_data['flashvars_type'] = '';
// set player dimensions first
if (empty($fmp_data['fmp_width'])) {
$fmp_data['fmp_width'] = 320;
}
// check if controls should be shown and add controls' height to player height
示例7: headline
// ----------------------------------------------------------------
//guestbook/comments
// include neccessary frontend functions, but only once
include_once PHPWCMS_ROOT . '/include/inc_front/content/cnt_functions/cnt18.func.inc.php';
$CNT_TMP .= headline($crow["acontent_title"], $crow["acontent_subtitle"], $template_default["article"]);
global $guestbook;
// make it global
$guestbook = unserialize($crow["acontent_form"]);
$guestbook['error'] = array();
$guestbook['cid'] = intval(empty($guestbook['aliasID']) ? $crow["acontent_id"] : $guestbook['aliasID']);
$guestbook['image_dir'] = PHPWCMS_ROOT . '/' . PHPWCMS_FILES . 'guestbook_' . $guestbook['cid'];
// getting guestbook template
if (is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/guestbook/' . $guestbook['template'])) {
$guestbook['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/guestbook/' . $guestbook['template']));
} else {
$guestbook['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/guestbook.tmpl'));
}
// check 'visible' status
if (empty($guestbook['gb_login_show'])) {
$guestbook['visible'] = true;
} elseif (_getFeUserLoginStatus()) {
$guestbook['visible'] = true;
} else {
$guestbook['visible'] = false;
// get template replacement in case login necessary and user not logged in
$CNT_TMP .= get_tmpl_section('LOGIN_INFO', $guestbook['template']);
}
if ($guestbook['visible']) {
// get guestbook sections
$guestbook['form'] = get_tmpl_section('FORM', $guestbook['template']);
$guestbook['signed'] = get_tmpl_section('FORM_SUCCESS', $guestbook['template']);
示例8: die
* @copyright Copyright (c) 2002-2015, Oliver Georgi
* @license http://opensource.org/licenses/GPL-2.0 GNU GPL-2
* @link http://www.phpwcms.de
*
**/
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
//FAQ
$crow["acontent_form"] = @unserialize($crow["acontent_form"]);
$crow["acontent_image"] = empty($crow["acontent_image"]) ? '' : explode(":", $crow["acontent_image"]);
if (!empty($crow["acontent_form"]['faq_template']) && file_exists(PHPWCMS_TEMPLATE . 'inc_cntpart/faq/' . $crow["acontent_form"]['faq_template'])) {
$crow["acontent_form"]['faq_template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/faq/' . $crow["acontent_form"]['faq_template']));
} else {
$crow["acontent_form"]['faq_template'] = '<div class="faq">
<!-- hidden title/subtitle [TITLE]
<h3 id="faq_id{FAQ_ID}">{TITLE}</h3>[/TITLE][SUBTITLE]
<h4>{SUBTITLE}</h4>[/SUBTITLE]
-->
[FAQ_QUESTION]<h3>{FAQ_QUESTION}</h3>[/FAQ_QUESTION]
[FAQ_IMAGE]<div class="faq-image">
{FAQ_IMAGE}[FAQ_CAPTION]
<div class="faq-caption">{FAQ_CAPTION}</div>[/FAQ_CAPTION]
</div>[/FAQ_IMAGE]
[FAQ_ANSWER]<p>{FAQ_ANSWER}</p>[/FAQ_ANSWER]
</div>';
}
// 0 :1 :2 :3 :4 :5 :6 :7 :8
示例9: array
$map['loc'] = array();
if ($map['result'] = mysql_query($map['sql'], $db)) {
while ($map['row'] = mysql_fetch_assoc($map['result'])) {
$map['map'] .= '<area shape="rect" coords="' . ($map['row']['map_x'] - 4) . ',' . ($map['row']['map_y'] - 4);
$map['map'] .= ',' . ($map['row']['map_x'] + 4) . ',' . ($map['row']['map_y'] + 4) . '" href="index.php?id=';
$map['map'] .= implode(',', $aktion) . '&loc=' . $map['row']['map_id'] . '" title="';
$map['map'] .= html_specialchars($map['row']['map_title']) . '" alt="';
$map['map'] .= html_specialchars($map['row']['map_title']) . '" />';
$map['p'][] = $map['row']['map_x'] . 'x' . $map['row']['map_y'];
if ($map['show'] == $map['row']['map_id']) {
$map['loc'] = $map['row'];
}
}
mysql_free_result($map['result']);
}
$map['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/map/' . $map['template']));
$map['tmpl_var'] = get_tmpl_section('VAR', $map['template']);
$map['tmpl_content'] = get_tmpl_section('CONTENT', $map['template']);
$map['tmpl_location'] = get_tmpl_section('LOCATION', $map['template']);
$map['map_img'] = '';
if (file_exists(PHPWCMS_TEMPLATE . 'inc_cntpart/map/map_img/' . $map['image'])) {
$map['map_img'] .= '<img src="img/mapimage.php?';
$map['map_img'] .= 'i=' . rawurlencode($map['image']) . '&xy=' . rawurlencode(implode(',', $map['p']));
$map['map_img'] .= '&v=' . rawurlencode($map['tmpl_var'] ? $map['tmpl_var'] : '1,7,7,FFFFFF,FF4000');
$map['map_img'] .= '" hspace="0" vspace="0" alt="" usemap="#locations" />';
if ($map['map']) {
$map['map_img'] .= '<map name="locations">' . $map['map'] . '</map>';
}
}
if (!$map['tmpl_content']) {
$CNT_TMP .= '<div style="float:right;">' . $map['map_img'] . '</div>';
示例10: die
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
// RSS feed
//$CNT_TMP .= headline($crow["acontent_title"], $crow["acontent_subtitle"], $template_default["article"]);
if (!empty($crow["acontent_form"]) && is_string($crow["acontent_form"])) {
$rssfeed = unserialize($crow["acontent_form"]);
} elseif (empty($rssfeed) || !is_array($rssfeed)) {
$rssfeed = array();
}
// Feed
if (isset($rssfeed['rssurl']) && !empty($rssfeed['rssurl'])) {
if (empty($rssfeed['template']) || !is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/rssfeed/' . $rssfeed['template'])) {
$rssfeed['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/rssfeed.tmpl'));
} else {
$rssfeed['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/rssfeed/' . $rssfeed['template']));
}
if (!$rssfeed['template']) {
$rssfeed['template'] = '<!--ITEM_START//--><li><a href="{LINK}" target="_blank">{TITLE}</a></li><!--ITEM_END//-->
<!--DIVIDER_START//--><hr /><!--DIVIDER_END//-->
<!--FEEDINFO_START//--><p>{IMAGE}</p><!--FEEDINFO_END//-->
<!--RSSFEED_START//-->[TITLE]<h3>{TITLE}</h3>[/TITLE][SUBTITLE]<h4>{SUBTITLE}</h4>[/SUBTITLE]<div class="rss-feed">{FEEDINFO}<ul>{ITEMS}</ul></div><!--RSSFEED_END//-->';
}
// Get Template
$rss['template_ITEM'] = get_tmpl_section('ITEM', $rssfeed['template']);
$rss['template_DIVIDER'] = get_tmpl_section('DIVIDER', $rssfeed['template']);
$rss['template_FEEDINFO'] = get_tmpl_section('FEEDINFO', $rssfeed['template']);
$rss['template_RSSFEED'] = get_tmpl_section('RSSFEED', $rssfeed['template']);
// Load SimplePie
require_once PHPWCMS_ROOT . '/include/inc_ext/simplepie.inc.php';
$rss_obj = new SimplePie();
示例11: die
* @license http://opensource.org/licenses/GPL-2.0 GNU GPL-2
* @link http://www.phpwcms.de
*
**/
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
// Content Type Reference
$content['reference'] = unserialize($crow["acontent_form"]);
if (empty($content['reference']["tmpl"]) && is_file(PHPWCMS_TEMPLATE . 'inc_default/reference.tmpl')) {
$content['reference']["tmpl"] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_default/reference.tmpl'));
} elseif (is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/reference/' . $content['reference']["tmpl"])) {
$content['reference']["tmpl"] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/reference/' . $content['reference']["tmpl"]));
} else {
$content['reference']["tmpl"] = ' <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>[REF]{REF}[/REF]</td></tr>
[CAPTION]<tr><td>{CAPTION}</td></tr>[/CAPTION]
</table>
[LIST]{LIST}[/LIST]</td>
<td width="14" valign="top"> </td>
<td width="98%" valign="top">[TITLE]<h3>{TITLE}</h3>[/TITLE]
[SUB]<h4>{SUB}</h4>[/SUB]
[TEXT]<p>{TEXT}</p>[/TEXT]</td>
</tr>
</table>';
}
示例12: die
* @copyright Copyright (c) 2002-2015, Oliver Georgi
* @license http://opensource.org/licenses/GPL-2.0 GNU GPL-2
* @link http://www.phpwcms.de
*
**/
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
// frontend login
$CNT_TMP .= headline($crow["acontent_title"], $crow["acontent_subtitle"], $template_default["article"]);
if (!empty($crow["acontent_template"]) && is_file(PHPWCMS_TEMPLATE . 'inc_cntpart/felogin/' . $crow["acontent_template"])) {
$_loginData = @unserialize($crow["acontent_form"]);
$_loginData['template'] = render_device(@file_get_contents(PHPWCMS_TEMPLATE . 'inc_cntpart/felogin/' . $crow["acontent_template"]));
$_loginData['form'] = get_tmpl_section('LOGIN_FORM', $_loginData['template']);
$_loginData['logged_in'] = get_tmpl_section('LOGIN_IS', $_loginData['template']);
$_loginData['register'] = get_tmpl_section('PROFILE_REGISTER', $_loginData['template']);
$_loginData['manage'] = get_tmpl_section('PROFILE_MANAGE', $_loginData['template']);
$_loginData['reminder'] = get_tmpl_section('REMINDER_FORM', $_loginData['template']);
$_loginData['reminder_success'] = get_tmpl_section('REMINDER_SUCCESS', $_loginData['template']);
$_loginData['reminder_email'] = get_tmpl_section('REMINDER_EMAIL', $_loginData['template']);
$_loginData['session_key'] = session_id();
$_loginData['template'] = $_loginData['form'];
$_loginData['error'] = false;
$_loginData['login'] = '';
$_loginData['password'] = '';
$_loginData['remember'] = 0;
$_loginData['remind_data'] = '';
$_loginData['felogin_profile_registration'] = empty($_loginData['felogin_profile_registration']) ? 0 : 1;