config enhancement - enabled dynamic url for upload monitoring
This commit is contained in:
parent
51ff64d054
commit
cbb11d60c6
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$_SESSION["is_test"]=true;
|
||||
$_SESSION["is_test"]=false;
|
||||
$_SESSION["test_email_rcpt"]="egalang@premiummegastructures.com";
|
||||
$_SESSION["data_endpoint"]="api.obanana.shop";
|
||||
$_SESSION["data_endpoint"]="api.obanana.com";
|
||||
?>
|
|
@ -135,19 +135,18 @@
|
|||
echo $id[0]['username'];
|
||||
?></a></td>
|
||||
<td>
|
||||
<?php
|
||||
// if (isset($product['product']['specifications'])) {
|
||||
?>
|
||||
<!--<button onclick="window.location.href='https://b2b.obpay.online/product-left-sidebar.php?id=<?php //echo $product['product']['_id'];
|
||||
?>';">View</button>
|
||||
<button onclick="window.location.href='https://b2b.obpay.online/admin/product-edit.php?id=<?php //echo $product['product']['_id'];
|
||||
?>';">Edit</button>-->
|
||||
<a class="btn btn-default" href="https://b2b.obpay.online/product-left-sidebar.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">View</a>
|
||||
<a class="btn btn-default" href="https://b2b.obpay.online/admin/product-edit.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">Edit</a>
|
||||
<?php
|
||||
// } else {
|
||||
// echo "No Data";
|
||||
// }
|
||||
<?php
|
||||
if($_SESSION["is_test"]==true){
|
||||
?>
|
||||
<a class="btn btn-default" href="https://b2b.obpay.online/product-left-sidebar.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">View</a>
|
||||
<a class="btn btn-default" href="https://b2b.obpay.online/admin/product-edit.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">Edit</a>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<a class="btn btn-default" href="https://obanana.com/product-left-sidebar.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">View</a>
|
||||
<a class="btn btn-default" href="https://obanana.com/admin/product-edit.php?id=<?php echo $product['product']['_id']; ?>" target="_blank">Edit</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue