}
if ( $bgcolor <> '' ) {
- $bgc = " bgcolor=\"$bgcolor\"";
+ $bgc = " bgcolor=\"$bgcolor\"";
}
switch ( $align ) {
$ret .= ">$val</$tag>";
} else {
$ret .= '>';
- }
+ }
return( $ret );
}
'/.+(\\?'.$var.')=(.*)$/AU', /* at front and only var */
'/.+(\\&'.$var.')=(.*)$/AU' /* at the end */
);
- preg_replace('/&/','&',$url);
+ preg_replace('/&/','&',$url);
switch (true) {
case (preg_match($pat_a[0],$url,$regs)):
$k = $regs[1];
function echo_template_var($var, $format_ar = array() ) {
$frm_last = count($format_ar) -1;
- if (isset($format_ar[0])) echo $format_ar[0];
+ if (isset($format_ar[0])) echo $format_ar[0];
$i = 1;
switch (true) {
echo $format_ar[$frm_last];
}
}
-?>
+?>
\ No newline at end of file