function smarty_template_function_alaTcUrl_1774553027562772e371cd06_40569116($_smarty_tpl,$params) {
if (!is_callable('smarty_function_wiseMakeSearchUrl')) require_once '/Users/alan/htdocs/air/libs/plugins/function.wiseMakeSearchUrl.php';
if (!is_callable('smarty_function_wiseMakeTcUrlNew')) require_once '/Users/alan/htdocs/air/libs/plugins/function.wiseMakeTcUrlNew.php';
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
$params = array_merge(array('src'=>'','tj5'=>'l','waplogo'=>'','undecode'=>'','l'=>'1','dict'=>'','laid'=>''), $params);
foreach ($params as $key => $value) {
$_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value);
}?>
<?php if (is_array($_smarty_tpl->tpl_vars['src']->value) && $_smarty_tpl->tpl_vars['src']->value['query']) {?>
<?php ob_start();
echo smarty_function_wiseMakeSearchUrl(array('word'=>$_smarty_tpl->tpl_vars['src']->value['query'],'sa'=>"re_".((string)$_smarty_tpl->tpl_vars['alaData']->value['iteration'])),$_smarty_tpl);
$_tmp6=ob_get_clean();
$_smarty_tpl->tpl_vars['src'] = new Smarty_Variable($_tmp6, null, 0);?>
<?php }?>

<?php if (!empty($_smarty_tpl->tpl_vars['waplogo']->value) && !empty($_smarty_tpl->tpl_vars['laid']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'waplogo'=>$_smarty_tpl->tpl_vars['waplogo']->value,'laid'=>$_smarty_tpl->tpl_vars['laid']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } elseif (!empty($_smarty_tpl->tpl_vars['waplogo']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'waplogo'=>$_smarty_tpl->tpl_vars['waplogo']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } elseif (!empty($_smarty_tpl->tpl_vars['laid']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'laid'=>$_smarty_tpl->tpl_vars['laid']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } else { ?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php }?>
<?php 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_alaTcUrl_49074763255f3c84c5f78a4_14536676($_smarty_tpl,$params) {
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
$params = array_merge(array('src'=>'','tj5'=>'l','waplogo'=>'','undecode'=>'','l'=>'1','dict'=>'','laid'=>''), $params);
foreach ($params as $key => $value) {
$_smarty_tpl->tpl_vars[$key] = new Smarty_Variable($value);
}?>
<?php if (is_array($_smarty_tpl->tpl_vars['src']->value) && $_smarty_tpl->tpl_vars['src']->value['query']) {?>
<?php ob_start();
echo smarty_function_wiseMakeSearchUrl(array('word'=>$_smarty_tpl->tpl_vars['src']->value['query'],'sa'=>"re_".((string)$_smarty_tpl->tpl_vars['alaData']->value['iteration'])),$_smarty_tpl);
$_tmp6=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['src'] = new Smarty_Variable($_tmp6, null, 0);?>
<?php }?>

<?php if (!empty($_smarty_tpl->tpl_vars['waplogo']->value) && !empty($_smarty_tpl->tpl_vars['laid']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'waplogo'=>$_smarty_tpl->tpl_vars['waplogo']->value,'laid'=>$_smarty_tpl->tpl_vars['laid']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } elseif (!empty($_smarty_tpl->tpl_vars['waplogo']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'waplogo'=>$_smarty_tpl->tpl_vars['waplogo']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } elseif (!empty($_smarty_tpl->tpl_vars['laid']->value)) {?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'laid'=>$_smarty_tpl->tpl_vars['laid']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php } else { ?>
<?php echo smarty_function_wiseMakeTcUrlNew(array('src'=>$_smarty_tpl->tpl_vars['src']->value,'alaData'=>$_smarty_tpl->tpl_vars['alaData']->value,'fm'=>(($tmp = @$_smarty_tpl->tpl_vars['_alaFm']->value)===null||$tmp==='' ? 'alop' : $tmp),'tj5'=>$_smarty_tpl->tpl_vars['tj5']->value,'undecode'=>$_smarty_tpl->tpl_vars['undecode']->value,'l'=>$_smarty_tpl->tpl_vars['l']->value,'dict'=>$_smarty_tpl->tpl_vars['dict']->value),$_smarty_tpl);?>

<?php }?>
<?php 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;
}