enzko Posted December 28, 2006 Report Share Posted December 28, 2006 Hi @ All, ich möchte gerne folgenden Code in die Datei includes/application_top.php einbauen. Dies ist aber der Code aus OS wie müsste der lauten damit es unter XTC läuft ? // page restrictor if (!tep_session_is_registered('__restrictor_passed')) { include('page.restrictor.php'); tep_session_register('__restrictor_passed'); $__restrictor_passed = '1'; }[/php] BIG THX Link to comment Share on other sites More sharing options...
mzanier Posted December 28, 2006 Report Share Posted December 28, 2006 // page restrictor if (!isset($_SESSION['__restrictor_passed'])) { include('page.restrictor.php'); $_SESSION['__restrictor_passed']='1'; } [/PHP] Link to comment Share on other sites More sharing options...
enzko Posted January 5, 2007 Author Report Share Posted January 5, 2007 // page restrictor if (!isset($_SESSION['__restrictor_passed'])) { include('page.restrictor.php'); $_SESSION['__restrictor_passed']='1'; } [/php] Danke mzanier ich habe hier noch ein Code der für OS Datenbankabfrage ist könntest du mal drüber fliegen und eventuell mal posten wie er für XTC lauten müsste. [code]$abfrage = "SELECT P.products_id,P.products_name,P.products_description,P.products_image,PTC.categories_id,C.categories_name FROM products P,products_to_categories PTC,categories C WHERE PTC.products_id = P.products_id AND PTC.categories_id = C.categories_id AND P.products_status = '1' AND P.products_id > $id ORDER BY P.products_id";[/code] BIG THX Link to comment Share on other sites More sharing options...
techway Posted January 5, 2007 Report Share Posted January 5, 2007 die SQL-Abfrage müsste kompatibel sein Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.