Quote:
Originally Posted by shan
you could require this in home.php the same as categories.php is or just do the same thing using smarty code in the templates. use things like
Code:
$smarty.get.a_aid ne ""
|
I tried requiring it in home.php like this:
Code:
# $Id: home.php,v 1.1.2.4 2004/11/03 12:07:34 mclap Exp $
#
require "./auth.php";
require "./affiliateid.php";
and then adding the php code I need into an affiliateid.php file but it doesn't display the code. I tried calling affiliate.php as an include but that only displays the code as is without parsing the variables.
Not sure if I could use the smarty tag because it needs to call the t2.php file mentioned above to pass along the variables.