ruben |
|
---|---|
i have the shopsystem plugin running at my site, and added the prdct_extra lines to be able to add some extra photo's. how can i change the code in the shopsystem.detail.php code so it shows a "No Photo" image when the prdct_extra field is empty?
i tried a little bit myself but i have no php coding skills at all
if (empty($row1['prdct_extra9']) {$shopsystem_items .= "<td width=\"200px\"><img src=\"images/geenfoto.jpg width=\"100px\" id=\"ads\" \"></td>" : '';} else {
$shopsystem_items .= "<td width=\"200px\"><a href=\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra9']."\" target=\"_blank\">
<img src=\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra9']."\" width=\"100px\" id=\"ads\" \"></a>" : '';};
|