osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Information Pages Unlimited v1.0

This is a discussion on Information Pages Unlimited v1.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Well I downloaded the package below installed it - very easy install, especially since it was over a fresh install ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-13-2007, 12:51 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,326
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Information Pages Unlimited v1.0

Well I downloaded the package below installed it - very easy install, especially since it was over a fresh install

Afte loging into the admin I cam accross an error when clicking on the info system link - I got the 'My Store' configuration page and this is how my information manager page looks lke when I click on it.

1
0) {while (list($key, $val)=each($data)) {$no++; } } ; $title="" . ADD_QUEUE_INFORMATION . " #$no"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=AddSure'); include('information_form.php'); break; case "AddSure": function add_information ($data) { global $languages_id; $query ="INSERT INTO " . TABLE_INFORMATION . " VALUES(null, '$data[visible]', '$data[v_order]', '$data[info_title]', '$data[description]','$languages_id', null)"; mysql_db_query(DB_DATABASE, $query) or die ("Information ERROR: ".mysql_error()); } if ($v_order && $info_title && $description) { if ((INT)$v_order) { add_information($HTTP_POST_VARS); $data=browse_information(); $title="" . tep_image(DIR_WS_ICONS . 'confirm_red.gif', CONFIRM_INFORMATION) .SUCCED_INFORMATION . ADD_QUEUE_INFORMATION . " $v_order "; include('information_list.php'); } else {$error="20";} } else {$error="80";} unset($data); break; case "Edit": if ($information_id) { $edit=read_data($information_id); $data=browse_information(); $button=array("Update"); $title="" . EDIT_ID_INFORMATION . " $information_id"; //echo form("$PHP_SELF?adgrafics_information=Update", $hidden); echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=Update'); echo tep_draw_hidden_field('information_id', "$information_id"); include('information_form.php'); } else {$error="80";} break; case "Update": function update_information () { if ((isset($_POST['info_pages'])) && ($_POST['info_pages'] == 'NULL')) { mysql_db_query(DB_DATABASE, "UPDATE " . TABLE_INFORMATION . " SET info_title='$_POST[info_title]', description='$_POST[description]', visible='$_POST[visible]', v_order='$_POST[v_order]', parent_id=NULL WHERE information_id=$_POST[information_id]") or die ("update_information: ".mysql_error()); } else { mysql_db_query(DB_DATABASE, "UPDATE " . TABLE_INFORMATION . " SET info_title='$_POST[info_title]', description='$_POST[description]', visible='$_POST[visible]', v_order='$_POST[v_order]', parent_id='$_POST[info_pages]' WHERE information_id=$_POST[information_id]") or die ("update_information: ".mysql_error()); } } if ($information_id && $description && $v_order) { if ((INT)$v_order) { update_information(); $data=browse_information(); $title="$confirm " . UPDATE_ID_INFORMATION . " $information_id " . SUCCED_INFORMATION . ""; include('information_list.php'); } else {$error="20"; } } else {$error="80";} break; case 'Visible': function tep_set_information_visible($information_id, $visible) { if ($visible == '1') { return tep_db_query("update " . TABLE_INFORMATION . " set visible = '0' where information_id = '" . $information_id . "'"); } else{ return tep_db_query("update " . TABLE_INFORMATION . " set visible = '1' where information_id = '" . $information_id . "'"); } } tep_set_information_visible($information_id, $visible); $data=browse_information(); if ($visible == '1') { $vivod=DEACTIVATION_ID_INFORMATION; }else{$vivod=ACTIVATION_ID_INFORMATION;} $title="$confirm $vivod $information_id " . SUCCED_INFORMATION . ""; include('information_list.php'); break; case "Delete": if ($information_id) { $delete=read_data($information_id); $data=browse_information(); $title="" . DELETE_CONFITMATION_ID_INFORMATION . " $information_id"; echo " $title
"; echo " " . TITLE_INFORMATION . " $delete[info_title]
"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, "adgrafics_information=DelSure&information_id= $val[information_id]"); echo tep_draw_hidden_field('information_id', "$information_id"); echo tep_image_submit('button_delete.gif', IMAGE_DELETE); echo '' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . ''; echo "
"; } else {$error="80";} break; case "DelSure": function delete_information ($information_id) { mysql_db_query(DB_DATABASE, "DELETE FROM " . TABLE_INFORMATION . " WHERE information_id=$information_id"); } if ($information_id) { delete_information($information_id); $data=browse_information(); $title="$confirm " . DELETED_ID_INFORMATION . " $information_id " . SUCCED_INFORMATION . ""; include('information_list.php'); } else {$error="80";} break; default: $data=browse_information(); $title="" . MANAGER_INFORMATION . ""; include('information_list.php'); } if ($error) { $content=error_message($error); echo $content; $data=browse_information(); $no=1; if (sizeof($data) > 0) {while (list($key, $val)=each($data)) {$no++; } } ; $title="" . ADD_QUEUE_INFORMATION . " $no"; echo tep_draw_form('',FILENAME_INFORMATION_MANAGER, 'adgrafics_information=AddSure'); include('information_form.php'); } ?>

NOTHING TO DOWNLOAD

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
ERROR_FILE_NOT_WRITEABLE for my Home and Information Pages PurdiceLTD osCMax v2 Installation issues 9 11-09-2005 09:36 AM
Setting up information pages - shipping & returns...etc wyldeone osCMax v1.7 Discussion 1 03-19-2005 05:41 AM
extra pages mod - doesnt resemble main pages battleaxe osCMax v1.7 Discussion 3 11-05-2004 06:32 AM
How to change page titles for information pages? mark754 osCMax v1.7 Discussion 2 09-16-2004 01:28 PM
Extra pages in information box neil osCommerce 2.2 Installation Help 1 01-24-2003 06:49 AM


All times are GMT -8. The time now is 11:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax