function smarty_template_function_alaName_1774553027562772e371cd06_40569116($_smarty_tpl,$params) {
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
$params = array_merge(array('s'=>''), $params);
foreach ($params as $key => $value) {
$_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value);
}
echo Search_AladdinFactory::getShortName($_smarty_tpl->tpl_vars['s']->value);
if ($_smarty_tpl->tpl_vars['reqData']->value['pn'] >= $_smarty_tpl->tpl_vars['reqData']->value['rn']) {
echo $_smarty_tpl->tpl_vars['reqData']->value['pn']/$_smarty_tpl->tpl_vars['reqData']->value['rn'];
}
foreach (Smarty::$global_tpl_vars as $key => $value){
if ($_smarty_tpl->tpl_vars[$key] === $value) $saved_tpl_vars[$key] = $value;
}
$_smarty_tpl->tpl_vars = $saved_tpl_vars;
}
function smarty_template_function_alaName_49074763255f3c84c5f78a4_14536676($_smarty_tpl,$params) {
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
$params = array_merge(array('s'=>''), $params);
foreach ($params as $key => $value) {
$_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value);
}
echo Search_AladdinFactory::getShortName($_smarty_tpl->tpl_vars['s']->value);
if ($_smarty_tpl->tpl_vars['reqData']->value['pn'] >= $_smarty_tpl->tpl_vars['reqData']->value['rn']) {
echo $_smarty_tpl->tpl_vars['reqData']->value['pn']/$_smarty_tpl->tpl_vars['reqData']->value['rn'];
}
foreach (Smarty::$global_tpl_vars as $key => $value){
if ($_smarty_tpl->tpl_vars[$key] === $value) $saved_tpl_vars[$key] = $value;
}
$_smarty_tpl->tpl_vars = $saved_tpl_vars;
}