Guest ice7782 Posted February 22, 2007 Share Posted February 22, 2007 I have accidentally deleted " /modules/gateway/Print_Order_Form/index.php " could someone please upload/copy and paste one to me please?! Thanks a bunch! Quote Link to comment Share on other sites More sharing options...
roban Posted February 22, 2007 Share Posted February 22, 2007 There is no /modules/gateway/Print_Order_Form/index.php. There is an orderForm.tpl, orderForm.php or transfer.inc Quote Link to comment Share on other sites More sharing options...
Guest ice7782 Posted February 22, 2007 Share Posted February 22, 2007 There is no /modules/gateway/Print_Order_Form/index.php. There is an orderForm.tpl, orderForm.php or transfer.inc Im sorry, I meant admin/modules/gateway/Print_Order_Form/index.php Quote Link to comment Share on other sites More sharing options...
roban Posted February 22, 2007 Share Posted February 22, 2007 In that case: <?php /* +-------------------------------------------------------------------------- | CubeCart v3.0.15 | ======================================== | by Alistair Brookbanks | CubeCart is a Trade Mark of Devellion Limited | Copyright Devellion Limited 2005 - 2006. All rights reserved. | Devellion Limited, | 22 Thomas Heskin Court, | Station Road, | Bishops Stortford, | HERTFORDSHIRE. | CM23 3EE | UNITED KINGDOM | http://www.devellion.com | UK Private Limited Company No. 5323904 | ======================================== | Web: http://www.cubecart.com | Date: Thursday, 4th January 2007 | Email: sales (at) cubecart (dot) com | License Type: CubeCart is NOT Open Source Software and Limitations Apply | Licence Info: http://www.cubecart.com/site/faq/license.php +-------------------------------------------------------------------------- | index.php | ======================================== | Configure Printable Order Form +-------------------------------------------------------------------------- */ include("../../../../includes/ini.inc.php"); include("../../../../includes/global.inc.php"); require_once("../../../../classes/db.inc.php"); $db = new db(); include_once("../../../../includes/functions.inc.php"); $config = fetchDbConfig("config"); include_once("../../../../language/".$config['defaultLang']."/lang.inc.php"); $enableSSl = 1; include_once("../../../../includes/sslSwitch.inc.php"); include("../../../includes/auth.inc.php"); include("../../../includes/header.inc.php"); if(permission("settings","read")==FALSE){ header("Location: ".$GLOBALS['rootRel']."admin/401.php"); exit; } if(isset($_POST['module'])){ include("../../status.php"); include("../../../includes/functions.inc.php"); $module = fetchDbConfig($_GET['folder']); $msg = writeDbConf($_POST['module'], $_GET['folder'], $module); } $module = fetchDbConfig($_GET['folder']); ?> <p class="copyText">Printable Order Form</a></p> <?php if(isset($msg)){ echo stripslashes($msg); } ?> <form action="<?php echo $GLOBALS['rootRel'];?>admin/modules/<?php echo $_GET['module']; ?>/<?php echo $_GET['folder']; ?>/index.php?module=<?php echo $_GET['module']; ?>&folder=<?php echo $_GET['folder']; ?>" method="post" enctype="multipart/form-data"> <table border="0" cellspacing="0" cellpadding="3" class="mainTable"> <tr> <td colspan="2" class="tdTitle">Configuration Settings </td> </tr> <tr> <td align="left" class="tdText"><strong>Status:</strong></td> <td class="tdText"> <select name="module[status]"> <option value="1" <?php if($module['status']==1) echo "selected='selected'"; ?>>Enabled</option> <option value="0" <?php if($module['status']==0) echo "selected='selected'"; ?>>Disabled</option> </select> </td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Payment in multiple Currencies?:</strong> </td> <td class="tdText"> <select name="module[multiCurrency]"> <option value="1" <?php if($module['multiCurrency']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['multiCurrency']==0) echo "selected='selected'"; ?>>No</option> </select> </td> <tr> <td align="left" class="tdText"><strong>Description:</strong> </td> <td class="tdText"><input type="text" name="module[desc]" value="<?php echo $module['desc']; ?>" class="textbox" size="30" /> </td> <tr> <td align="left" class="tdText"><strong>Allow Cheque Payments?</strong></td> <td class="tdText"> <select name="module[cheque]"> <option value="1" <?php if($module['cheque']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['cheque']==0) echo "selected='selected'"; ?>>No</option> </select></td> </tr> <tr> <td align="left" class="tdText"><strong>Checks payable to:</strong> </td> <td class="tdText"><input type="text" name="module[payableTo]" value="<?php echo $module['payableTo']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Card Payments?</strong></td> <td class="tdText"><select name="module[card]"> <option value="1" <?php if($module['card']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['card']==0) echo "selected='selected'"; ?>>No</option> </select></td> </tr> <tr> <td align="left" class="tdText"><strong>Cards Accepted:</strong><br /> (Comma separated) </td> <td class="tdText"><input type="text" name="module[cards]" value="<?php echo $module['cards']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Bank Transfer?</strong></td> <td class="tdText"><select name="module[bank]"> <option value="1" <?php if($module['bank']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['bank']==0) echo "selected='selected'"; ?>>No</option> </select> </td> </tr> <td align="left" class="tdText"><strong>Bank Name:</strong></td> <td class="tdText"><input type="text" name="module[bankName]" value="<?php echo $module['bankName']; ?>" class="textbox" size="30" /> </td> </tr> <tr> <td align="left" class="tdText"><strong>Account Name: </strong></td> <td class="tdText"><input type="text" name="module[accName]" value="<?php echo $module['accName']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Sort Code: </strong></td> <td class="tdText"><input type="text" name="module[sortCode]" value="<?php echo $module['sortCode']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Account Number: </strong></td> <td class="tdText"><input type="text" name="module[acNo]" value="<?php echo $module['acNo']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Swift Code: </strong></td> <td class="tdText"><input type="text" name="module[swiftCode]" value="<?php echo $module['swiftCode']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" valign="top" class="tdText"><strong>Address:</strong></td> <td class="tdText"><textarea name="module[address]" cols="30" rows="5"><?php echo $module['address']; ?></textarea></td> </tr> <tr> <td align="left" valign="top" class="tdText"><strong>Notes to Customer: </strong></td> <td class="tdText"><textarea name="module[notes]" cols="30" rows="5"><?php echo $module['notes']; ?></textarea></td> </tr> <tr> <td align="right" class="tdText"> </td> <td class="tdText"><input type="submit" class="submit" value="Edit Config" /></td> </tr> </table> </form> <?php include("../../../includes/footer.inc.php"); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.