if ( $Globals['showubb'] == "no" && $imgurl != "" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="center" valign="top"><a href="{$downurl}">Download this file</a>
</td>
</tr>
PPPRINT;
}
And:
define( 'THIS_SCRIPT', "showphoto" );
require "pp-inc.php";
$showcode = "
Code:
Content visible to verified customers only.
";
$downurl = "{$Globals['datadir']}/$storecat/$bigimage";
$PATH_INFO = findenv("PATH_INFO");
if ( isset($PATH_INFO) && $Globals['spider'] == "yes" ) {
$test = explode('/', substr($PATH_INFO,1));
for($i=0; $i < count($test); $i++){
if( $i % 2 == 0 ) { $_REQUEST[$test[$i]]