| @@ 181-186 (lines=6) @@ | ||
| 178 | $addphotonow = '0'; |
|
| 179 | } |
|
| 180 | ||
| 181 | if ($addphotonow) { |
|
| 182 | //$lid = $xoopsDB->getInsertId(); |
|
| 183 | redirect_header("view_photos.php?lid=$lid&uid=$usid", 3, _ADSLIGHT_ADSADDED); |
|
| 184 | } else { |
|
| 185 | redirect_header('index.php', 3, _ADSLIGHT_ADSADDED); |
|
| 186 | } |
|
| 187 | } else { |
|
| 188 | $xoopsOption['template_main'] = 'adslight_addlisting.tpl'; |
|
| 189 | include XOOPS_ROOT_PATH . '/header.php'; |
|
| @@ 173-178 (lines=6) @@ | ||
| 170 | $addphotonow = '0'; |
|
| 171 | } |
|
| 172 | ||
| 173 | if ($addphotonow) { |
|
| 174 | //$lid = $xoopsDB->getInsertId(); |
|
| 175 | redirect_header("view_photos.php?lid=$lid&uid=$usid", 3, _ADSLIGHT_ADSADDED); |
|
| 176 | } else { |
|
| 177 | redirect_header('index.php', 3, _ADSLIGHT_ADSADDED); |
|
| 178 | } |
|
| 179 | } else { |
|
| 180 | $xoopsOption['template_main'] = 'adslight_addlisting.tpl'; |
|
| 181 | include XOOPS_ROOT_PATH . '/header.php'; |
|