|
+- |
|
if($module['method']=="std"){ |
|
|
|
if( (base64_decode($_GET['oid']) == $basket['cart_order_id']) && !isset($_GET['f']) ) { |
<> |
|
|
|
|
return TRUE; |
|
|
|
|
|
} else{ |
|
|
|
|
|
return FALSE; |
|
|
|
|
|
} |
|
|
|
|
|
} elseif($module['method']=="ipn") { |
|
|
############################################################################################ |
|
############################################################################################ |
// Following line updated for Sir William's PayPal AutoReturn Fix |
|
// Following line updated for Sir William's PayPal AutoReturn Fix |
// $result = $db->select("SELECT status FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE cart_order_id = ".$db->mySQLSafe($basket['cart_order_id']) ); |
|
// $result = $db->select("SELECT status FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE cart_order_id = ".$db->mySQLSafe($basket['cart_order_id']) ); |
$result = $db->select("SELECT status FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE sec_order_id = ".$db->mySQLSafe($_GET['tx']) ); |
|
$result = $db->select("SELECT status FROM ".$glob['dbprefix']."CubeCart_order_sum WHERE sec_order_id = ".$db->mySQLSafe($_GET['tx']) ); |
############################################################################################ |
|
############################################################################################ |
|
|
|
if($result[0]['status']==2){ |
|
if($result[0]['status']==2){ |
return TRUE; |
|
return TRUE; |
} else { |
|
} else { |
return FALSE; |
|
return FALSE; |
} |
|
} |
|
} |
+- |
|
|
|
|
|
|
<> |
|
if($module['method']=="std"){ |
|
|
|
|
|
$transfer = "auto"; |
|
$transfer = "auto"; |
$stateUpdate = TRUE; |
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
$transfer = "auto"; |
|
|
$stateUpdate = FALSE; |
|
$stateUpdate = FALSE; |
} |
|
|
|
<> |
<?php |
|
|
include('../classes/rss_fetch.inc'); |
|
|
if(!isset($config['rssURL'])) { |
|
|
$config['rssURL'] = "http://forums.cubecart.com/index.php?act=rssout&id=1"; |
|
|
} |
|
|
if(!empty($config['rssURL'])) { |
|
|
$rss = fetch_rss( $config['rssURL'] ); |
|
|
?> |
|
|
<br /> |
|
|
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="mainTable"> |
|
|
<tr> |
|
|
<td class="tdTitle"><?php echo $rss->channel['title']; ?></td> |
|
|
</tr> |
|
|
<?php |
|
|
foreach ($rss->items as $item) { |
|
|
?> |
|
|
<tr> |
|
|
<td><?php echo "<a href=".$item['link']." class='txtLink'>".$item['title']."</a>"; ?></td> |
|
|
</tr> |
|
|
<?php |
|
|
} |
|
|
?> |
|
|
</table> |
|
|
<?php |
|
|
} |
<?php if(!isset($config['lk'])) { ?> |
|
if(!isset($config['lk'])) { ?> |