当前位置: 首页>>代码示例>>PHP>>正文


PHP main_front_class::unit方法代码示例

本文整理汇总了PHP中main_front_class::unit方法的典型用法代码示例。如果您正苦于以下问题:PHP main_front_class::unit方法的具体用法?PHP main_front_class::unit怎么用?PHP main_front_class::unit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在main_front_class的用法示例。


在下文中一共展示了main_front_class::unit方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

if (isset($_GET['PRODUCTID'])) {
    if ($_GET['firm'] == "") {
        echo "<font class='error'>There's some error..</font>";
    } else {
        $obj->StoreFirmsWithProducts($_GET['firm'], $_GET['consignee'], $_GET['inspection'], $_GET['quantity'], $_GET['unit'], $_GET['tdc'], $_GET['emd'], $_GET['rate'], $_GET['taxtype'], $_GET['taxper'], $_GET['taxamount'], $_GET['disper'], $_GET['disamount'], $_GET['othercharg'], $_GET['validday'], $_GET['payment'], $_GET['delperod'], $_GET['delschedule'], $_GET['remark'], $_GET['spinate'], $_GET['PRODUCTID']);
        echo "<font class='success'>Firm added successfully</font>";
    }
}
if (isset($_POST['firm_id_tender']) && $_POST['firm_id_tender'] != '') {
    $result_firm_tender = $obj->Schedule_Peride($_POST['firm_id_tender']);
    echo json_encode($result_firm_tender);
}
if (isset($_GET['pidProductFirm']) && $_GET['pidProductFirm'] != '') {
    $update_product_firm = $obj->UpdateProductFirm($_GET['category'], $_GET['inspection'], $_GET['discription'], $_GET['consignee'], $_GET['quantity'], $_GET['unitX'], $_GET['pidProductFirm']);
    $mj = $obj->ProductFirmAfterUpdate($_GET['pidProductFirm']);
    $my_unit = $obj->unit($mj['unit']);
    $my_inspection = $obj->inspection($mj['inspection']);
    ?>
    <td><input type="text" name="category_update[]" style="width:200px;" class="kareena" value="<?php 
    echo $mj['item_name'] . ":-" . $mj['item_discription'];
    ?>
" id="category_update_0" readonly="readonly" />
    </td>
    <td><input type="text" id="inspection_update_0" name="inspection_update[]" class="selectD" style="width:120px;" value="<?php 
    echo $my_inspection;
    ?>
" readonly="readonly" />
    </td>
    <td>
    <input type="text" name="discription_update[]" class="kareena" id="discription_update_0" readonly="readonly" value="<?php 
    echo $mj['discription'];
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:MainAjax.php

示例2:

">
 <td style="width:280px; word-wrap:break-word;">
 <?php 
    echo $mk['item_discription'];
    ?>
<font style="font-size:10px; color:#000099;">
 [Consignee : <?php 
    echo $mk['main_csign_short_name'];
    ?>
]</font>
 <br/>
 <font style="font-size:10px; color:#000099;">[Quantity : <?php 
    echo $mk['quantity'];
    ?>
 <font style="color:#000000;"><?php 
    echo $u = $obj->unit($mk['unit']);
    ?>
]</font>
</td>
  <td colspan="2" style="width:70px;">
 <?php 
    if ($tender_details['firm_status'] == 0 && $tender_details['status'] == 0) {
        ?>
 <a style="font-size:12px; margin-left:10px;" href="rate_tender.php?id=<?php 
        echo $_GET['id'];
        ?>
&p=<?php 
        echo $mk['id'];
        ?>
&val=<?php 
        echo $_GET['val'];
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:tender_quot_new+(discovered-PC's+conflicted+copy+2013-05-05).php

示例3: Tender

echo $tender_details['tender_number'];
?>
 </span><span style="margin-left:180px;">Due Date/Time : <?php 
echo $tender_details['tender_due_date'];
?>
 <?php 
echo $tender_details['tender_time'];
?>
</span></div>
<p>(All Rates are per Unit in Indian Rupees)</p>
<p style="font-size:19px;">Total Value of Tender (INR): 3,904,182</p>
<?php 
foreach ($product_details as $pd) {
    ?>
<p>Unit : <?php 
    echo $my_unit = $obj->unit($pd['unit']);
    ?>
</p>
<p style="text-align:left;">Product Category : <?php 
    echo $pd['item_name'];
    ?>
</p>
<p style="text-align:left;">Product Description : <?php 
    echo $pd['item_discription'];
    ?>
</p>
 <?php 
    $firms_in_products = $obj->Firms_In_Tabulation_stmt($pd['id']);
    ?>
 <table width="1200" border="1" style="page-break-inside:auto;">
  <tr>
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:tabulation_stmt.php

示例4:

<td class="info_p_td">&nbsp;<?php 
print_r($product_details['main_csign_short_name']);
?>
</td>
</tr>
<tr class="info_p_tr">
<td style="width:100px;">Quantity :</td>
<td class="info_p_td">&nbsp;<?php 
print_r($product_details['quantity']);
?>
</td>
</tr>
<tr class="info_p_tr">
<td style="width:100px;">Unit :</td>
<td class="info_p_td">&nbsp;<?php 
echo $unit_new = $obj->unit($product_details['unit']);
?>
</td>
</tr>
</table>
</div>
<!--------------------DownLoad Files-------------------->
<div id="sub_right_info" style="float:left; width:400px;height:auto;">
<div id="old_info_span" style="min-height:40px; height:auto; padding-top:10px; border:none;">
<span style="margin-left:0px;font-size:18px; margin-top:10px;width:380px;word-wrap:break-word; border-bottom:1px solid #333;">
Attachements In Tender</span>
</div>
<table id="infos" style="margin-left:10px;margin-top:4px; width:350px; table-layout:fixed;">
<?php 
$sm = 0;
foreach ($attachments as $njX) {
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:rate_tender.php

示例5:

    print_r($product_details[$i]['main_csign_short_name']);
    ?>
</a></td>

</tr>
<tr>
<td>Quantity : </td>
<td><?php 
    print_r($product_details[$i]['quantity']);
    ?>
</td>
<td width="19"></td>
</tr>
<tr>
<td>Unit : </td>
<td>
<?php 
    $show_unit = $obj->unit($product_details[$i]['unit']);
    echo $show_unit;
    ?>
</td>
</tr>
<tr>
<td colspan="2" style="border:1px solid #000;"></td>
</tr>
</table>

<?php 
}
?>
</body>
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:_tender_info.php

示例6:

?>
</option>
          <?php 
//}
?>
         </select></td>
        </tr>
        <?php 
//	}
?>
    -->
<tr><th style="width:200px;">Item Category</th><th>Item Inspection</th><th style="width:200px;">Item Discription</th><th>Consignee</th><th>Quantity</th><th>Unit</th><th style="width:80px">Rate</th><th style="width:80px">Tax Type</th><th style="width:80px">Including All</th><th style="width:100px">Total Value</th><th style="width:180px;">Payment</th><th style="width:100px;">Paying Autority</th><th style="width:100px;">Inspection Place</th><th style="width:80px;">Delivery Date</th><th style="width:80px;">Quantity</th><!--<th>Edit</th>--><th>Delete</th>
</tr>
<?php 
foreach ($result as $v) {
    $my_unit = $obj->unit($v['unit']);
    $my_inspection = $obj->inspection($v['inspection']);
    $my_tax_type = $obj->taxType($v['taxtype']);
    $my_payment = $obj->paymentInPoOpt($v['taxtype']);
    if ($v['id'] == $_GET['tb_row']) {
        ?>
<tr>
<td><input type="text" name="category_update_X[]" style="width:200px; background:#FFF;" class="kareena" value="<?php 
        echo $v['item_name'] . ":-" . $v['item_discription'] . ':(' . $v['item_id'] . ')';
        ?>
" id="category_update_0_X" />
    </td>
    <td>
    <?php 
        $ins_opt = '_' . $v['inspection'];
        ${$ins_opt} = "selected='selected'";
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:record_product_in_po_long_table.php

示例7:

    <br/>
    <div class="prodcut_info" style="height:auto; clear:both;">
    <div class="item_discription" style="clear:both; width:100%; word-wrap:break-word;">Item : <?php 
    echo $g['item_discription'];
    ?>
</div>
    <div class="consignee">Consignee : <?php 
    echo $g['main_csign_short_name'];
    ?>
</div>
    <div class="quantity"> Quantity : <?php 
    echo $g['quantity'];
    ?>
</div>
    <div class="unit">Unit : <?php 
    echo $unit = $obj->unit($g['unit']);
    ?>
</div>
    
    </div>
	<table id="dynamic_table" style="margin-top:10px;">
	<tr style="height:20px;"><td style="width:200px;border-right:1px solid #000; border-bottom:1px solid #000;"><b>Special Note</b></td>
	<td style="width:590px; padding-left:10px;border-bottom:1px solid #000;"><b>Detail of tender Product Rate</b></td>
	</tr>
		<?php 
    for ($i = 0; $i < 6; $i++) {
        ?>
			<tr>
			<td style="border-right:1px solid #000;border-bottom:1px solid #000;">&nbsp;</td>
			<td style="border-bottom:1px solid #000;">
			<table>
开发者ID:kalpishs,项目名称:tender_managment,代码行数:31,代码来源:print_tender.php


注:本文中的main_front_class::unit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。