$storyimg=$post->get_meta('storyimg',false);
#xoopsTpl->assign('storyimg',$storyimg);
<img src="<{$storyimg}>">
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}
function chechAdminTheme(){
include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php';
include_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php';
$db = XoopsDatabaseFactory::getDatabaseConnection();
$res = $db->query("SELECT conf_value FROM ".$db->prefix("config")." WHERE conf_name='cpanel' ");
while($row = $db->fetchArray($res)){
$tst[1] = $row['conf_value'];
}
return $tst;
}
$tst=chechAdminTheme();
if ($tst[1] =='redmexico'){
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
switch($fct){
case 'modulesadmin':
header('location: ../rmcommon/modules.php');
break;
}
}
}
//---------------------------*/