本文整理汇总了PHP中main_front_class::store_firms_under_tender方法的典型用法代码示例。如果您正苦于以下问题:PHP main_front_class::store_firms_under_tender方法的具体用法?PHP main_front_class::store_firms_under_tender怎么用?PHP main_front_class::store_firms_under_tender使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类main_front_class
的用法示例。
在下文中一共展示了main_front_class::store_firms_under_tender方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
if ($tender_details['tender_type'] == 3) {
$status = 'SPL Limited';
}
if ($tender_details['tender_type'] == 4) {
$status = 'Local Purchaser';
}
$product_details = $obj->attach_records_products_single($_GET['p'], 'tender_firm_product');
$list_firm = $obj->List_Drop_Down("consignee", "csign_short_name", "id");
if (isset($_GET['spl']) && $_GET['spl'] != '') {
$record_update = $obj->All_Firm_Product_Data($_GET['spl']);
}
if (isset($_POST['submit']) && $_POST['key'] == $_SESSION['key']) {
if (isset($_GET['spl']) && $_GET['spl'] != '') {
$result = $obj->update_firms_under_tender($_POST, $product_details['id'], $_SESSION['pin_id'], $_SESSION['pin_table'], $_GET['spl']);
} else {
$result = $obj->store_firms_under_tender($_POST, $product_details['id'], $_SESSION['pin_id'], $_SESSION['pin_table']);
}
if ($result == 1) {
?>
<script type="text/javascript">
window.location="tender_quot_new.php?id=<?php
echo $_GET['id'];
?>
&val=<?php
echo $_GET['val'];
?>
";
</script>
<?php
}
}