Ejemplo n.º 1
0
<div class="post">

<h1>
<div style="float: left">Proposed Average Rate</div>



<div style="float: right"><font size=2><?php 
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div>
</h1>

<?php 
echo '<br><br><font size=2>Details  for Lot Number ' . $lotno . '/' . $curyear . '(' . getExten($lotno, $divi) . ')</font>';
?>
<form action='save_economics.php' method='post'>
<table border=0>
	<tr>
		<td>Tentative Number of blazes</td>
		<td><input type="text" name="tenblazed"
			value="<?php 
echo $tenblazes;
?>
" disabled="disabled" /></input></td>
	</tr>


	<tr>
		<td>Yield Fixed</td>
Ejemplo n.º 2
0
            $maxoid = $info111['idw'];
        }
        $mazd = mysql_query("SELECT nmazdoor, remark FROM tap_store WHERE year='{$yr}' AND lotno='{$currlotno}' AND division='{$divi[$i]}' AND frmmonth='{$mon}' AND id='{$maxoid}'");
        $maz = mysql_num_rows($mazd);
        if ($maz == 0) {
            $sum123 = 0;
            $sum456 = 0;
        } else {
            while ($info900 = mysql_fetch_array($mazd)) {
                $sum123 = $info900['nmazdoor'];
                $sum456 = $info900['remark'];
            }
        }
        echo '<tr>
    <td>' . $k . '</td>
	<td>' . $currlotno . '/' . $yr . '(' . getExten($currlotno, $divi[$i]) . ')</td>
	<td>' . $sum2 . '</td>
	<td>' . $sum3 . '</td>
	<td>' . $sum4 . '</td>
	<td>' . $sum5 . '</td>
	<td>' . $sum3 . '</td>
	<td>' . $rs4 . '</td>
	<td>' . $sum123 . '</td>
	<td>' . $sum7 . '</td>
	<td>' . $sum6 . '</td>
	<td>' . $sum8 . '</td>
	<td>' . $sum9 . '</td>
	<td>' . $sum504 . '</td>
	<td>' . $sum503 . '</td>
	<td>' . $sum11 . '</td>
	<td>' . $sum12 . '</td>
Ejemplo n.º 3
0
<?php 
echo '<form action="save_rateOb.php" method="post">';
$divi = $_POST['divi'];
$year = $_SESSION['kapa'];
$data = mysql_query("SELECT distinct(lotno+division)as lotno FROM verify where division='{$divi}' and year='{$year}' order by lotno") or die("No table");
$num = $_SESSION['numlots'];
echo '<center><table border="1"><tr><td>Sr.No.</td><td>Lot Number</td><td>LSM Name</td><td>Carriage Rate</td><td>Transportation Rate</td></tr>';
$i = 0;
while ($info = mysql_fetch_array($data)) {
    $lot = $info['lotno'];
    $currlot = addslashes($lot);
    //$exten=$info['exten'];
    $lsm = $_POST['lsm' . $i];
    $ratecar = $_POST['ratecar' . $i];
    $ratetrans = $_POST['ratetrans' . $i];
    echo '<tr><td>' . ($i + 1) . '</td><td>' . $lot . '/' . $year . '(' . getExten($currlot, $divi) . ')</td><td>' . $lsm . '</td><td>' . $ratecar . '</td><td>' . $ratetrans . '</td></tr>';
    echo '<input type="hidden" name="lot' . $i . '" value="' . $lot . '"/>';
    echo '<input type="hidden" name="lsm' . $i . '" value="' . $lsm . '"/>';
    echo '<input type="hidden" name="ratecar' . $i . '" value="' . $ratecar . '"/>';
    echo '<input type="hidden" name="ratetrans' . $i . '" value="' . $ratetrans . '"/>';
    $i++;
}
echo '</table></center>';
echo '<input type="hidden" name="divi" value="' . $divi . '"/>
		<input type=submit value="Save"></form>';
?>
 <br />

</div>

<!-- content-wrap ends here --></div>
Ejemplo n.º 4
0
{
    $rs = mysql_query("select alotdate from current_lsm where year='{$kapa}' and division='{$divi}' and lotno='{$lotno}' and todate='0000-00-00'");
    $row = mysql_fetch_array($rs);
    return $row['alotdate'];
}
echo "<table width=900px border=1><tr><td>S.No.</td><td>Lot No.</td><td>Range</td><td>Unit</td><td>Forests</td><td>Name of LSM</td><td>Date of Allotment(dd-mm-yy)</td><td>Working from date(dd-mm-yyyy)</td><td>Forest Division</td></tr>";
$i = 1;
while ($row = mysql_fetch_array($datan)) {
    $lotno = $row['lotno'];
    $currlot = addslashes($lotno);
    $frange = $row['frange'];
    $divi = $row['division'];
    $lsmname = getLSMname($currlot, $divi, $kapa);
    $fromdate = getlsmDateStart($currlot, $divi, $kapa) == '0000-00-00' ? "NOT STARTED YET" : getDDMMYY(getlsmDateStart($currlot, $divi, $kapa));
    $alotdate = getlsmDateAlot($currlot, $divi, $kapa);
    echo "<tr><td>" . $i . "</td><td>" . $lotno . "/" . $kapa . "(" . getExten($currlot, $divi) . ")</td><td>" . $frange . "</td><td>" . getUnit($currlot, $divi) . "</td><td>" . getForests($currlot, $divi, $kapa) . "</td><td>" . $lsmname . "</td><td>" . getDDMMYY($alotdate) . "</td><td>" . $fromdate . "</td><td>" . $divi . "</td></tr>";
    $i++;
}
echo "</table>";
?>
 <br>
<br>
<br>
<br>
<h3>Divisional Manager &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp Divisional Forest Officer<br>
Forest Working Division, <?php 
echo strtoupper($_SESSION['fwd']);
Ejemplo n.º 5
0
<div style="float: right"><font size=2><?php 
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div>
</h1>




<br>
<form action="enumverfy_list.php" method="post"
	enctype="multipart/form-data" name="form1" onsubmit="return check();">

<?php 
echo "<table cellspacing=10><tr><td>Lot No: </td><td><input id='inputtext1' type='text' name='lotno' disabled='disabled' value='" . $lot . "/" . $kapa . "(" . getExten($lot, $divi) . ")'/></td><td></td></tr>";
$ql = "SELECT * FROM lot_desc WHERE lotno = '{$currlot}' and division='{$divi}' ORDER BY lotno ASC";
$data = mysql_query($ql) or die("No table");
if (mysql_num_rows($data) < 1) {
    echo '<script type="text/javascript">
			alert ("No lot found with entered details");
			window.location = "Enum_list.php"
			</script>';
    /*header('Location:show_msg.php?msg="No lot found with entered details"');
    	 exit;*/
}
while ($info = mysql_fetch_array($data)) {
    $range = $info['frange'];
    $forests = $info['forests'];
    $ta = $info['type_area'];
    $ext = $info['extract_method'];
Ejemplo n.º 6
0
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Filled Tins dispatched to Other Factory : </td><td><input id='inputtext1' type='text' name='tindo' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tindow' type='text' name='tindow' value=''  onkeyup='javascript:validate3();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Tins Lost : </td><td></td><td></td></tr>";
     echo "<tr><td>Fire</td><td><input id='inputtext1' type='text' name='tinlfi' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinlw' type='text' name='tinlfiw' value=''  onkeyup='javascript:validate4();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>Theft</td><td><input id='inputtext1' type='text' name='tinlt' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinltw' type='text' name='tinltw' value=''  onkeyup='javascript:validate5();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>Flood</td><td><input id='inputtext1' type='text' name='tinlf' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinlfw' type='text' name='tinlfw' value=''  onkeyup='javascript:validate6();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>Others</td><td><input id='inputtext1' type='text' name='tinlo' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinlow' type='text' name='tinlow' value=''  onkeyup='javascript:validate7();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>Remarks: </td><td colspan=2><TEXTAREA NAME='remark' ROWS='5' COLS='15'></TEXTAREA></td><td></td></tr>";
     echo "</table><input id='inputsubmit1' type='submit' style='background-color:#b6e38e; width: 60px;' name='inputsubmit1' value='Next' /> </form>";
 } else {
     echo "<form action='verify_prog.php' method='post' enctype='multipart/form-data' id='form1' onsubmit='return check2();'><table width=700><tr><td>Lot No: </td><td><input id='inputtext1' type='text' name='lotno' disabled='disabled' value='" . $lotno . "(" . getExten($ltn, $dvi) . ")'/></td><td></td></tr>";
     echo "<tr><td>No. of Blazes undergone Bark Shaving : </td><td><input id='inputtext1' type='text' name='nblazes' value='' onkeypress=\"return isNumberKey(event)\" /></td><td></td></tr>";
     echo "<tr><td>No. of Blazes undergone Crop Setting : </td><td><input id='inputtext1' type='text' name='nblaze' value='' onkeypress=\"return isNumberKey(event)\" /></td><td></td></tr>";
     echo "<tr><td>No. of Mazdoors Present : </td><td><input id='inputtext1' type='text' name='nmazd' value='' onkeypress=\"return isNumberKey(event)\" /></td><td></td></tr>";
     echo "<tr><td>No. of Resin Tins Collected : </td><td><input id='inputtext1' type='text' name='tinc' value='' onkeypress=\"return isNumberKey(event)\"></td><td><input id='tincw' type='text' name='tincw' value=''  onkeyup='javascript:validate();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Filled Tins carried from Forest to RSD : </td><td><input id='inputtext1' type='text' name='tinca' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tincaw' type='text' name='tincaw' value=''  onkeyup='javascript:validate1();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Filled Tins dispatched to Nahan Factory : </td><td><input id='inputtext1' type='text' name='tind' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tindw' type='text' name='tindw' value=''  onkeyup='javascript:validate2();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Filled Tins dispatched to Other Factory : </td><td><input id='inputtext1' type='text' name='tindo' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tindow' type='text' name='tindow' value=''  onkeyup='javascript:validate3();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>No. of Resin Tins Lost : </td><td></td><td></td></tr>";
     echo "<tr><td>Fire</td><td><input id='inputtext1' type='text' name='tinlfi' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinlw' type='text' name='tinlfiw' value=''  onkeyup='javascript:validate4();' /></td></tr>";
     echo "<tr><td></td><td><font size=1 color=red>No. of Tins</font></td><td><font size=1 color=red>Weight of Resin(in qntls)</font></td></tr>";
     echo "<tr><td>Theft</td><td><input id='inputtext1' type='text' name='tinlt' value='' onkeypress=\"return isNumberKey(event)\" /></td><td><input id='tinltw' type='text' name='tinltw' value=''  onkeyup='javascript:validate5();' /></td></tr>";
Ejemplo n.º 7
0
<br />
<br />
<?php 
echo '<form action="save_yieldOb.php" method="post">';
$divi = $_POST['divi'];
$year = $_POST['year'];
$data = mysql_query("SELECT distinct(lotno+division)as lotno FROM verify where division='{$divi}' and year='{$year}' order by lotno") or die("No table");
$num = $_SESSION['numlots'];
echo '<center><table border="1"><tr><td>Sr.No.</td><td>Lot Number</td><td>Yield Fixed</td></tr>';
$i = 0;
while ($info = mysql_fetch_array($data)) {
    $lot = $info['lotno'];
    $currlot = addslashes($lot);
    //	$exten=$info['exten'];
    $yfixed = $_POST["{$i}"];
    echo '<tr><td>' . ($i + 1) . '</td><td>' . $lot . '/' . $year . '(' . getExten($currlot, $divi) . ')</td><td>' . $yfixed . '</td></tr>';
    echo '<input type="hidden" name="lot' . $i . '" value="' . $lot . '"/>';
    echo '<input type="hidden" name="yield' . $i . '" value="' . $yfixed . '"/>';
    $i++;
}
echo '</table></center>';
echo '<input type="hidden" name="divi" value="' . $divi . '"/>';
echo '<input type="hidden" name="year" value="' . $year . '"/>
		<input type=submit value="Save"></form>';
?>
 <br />

</div>

<!-- content-wrap ends here --></div>
</div>
Ejemplo n.º 8
0
<div id="content-wrap">
<div id="content">

<div id="sidebar"><?php 
include 'includes/sidebar.php';
?>
</div>

<div id="main">

<div class="post">


<h1>
<div style="float: left">Showing LSM Details for Lot No.<?php 
echo $lot . '/' . $year . '(' . getExten($lot, $divi) . ')';
?>
</div>



<div style="float: right"><font size=2><?php 
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div>
</h1>
<br><br />
<?php 
$rs = mysql_query("select * from current_lsm where lotno='{$lot}' and division='{$divi}' and year='{$year}' order by alotdate");
if (mysql_num_rows($rs) == 0) {
Ejemplo n.º 9
0
 }*/
echo "<table border=1><tr><td>S.No.</td><td>Lot No.</td><td>Unit</td><td>Range</td><td>Forests</td><td>Name of RSD</td><td>No. of Blazes</td></tr>";
$num = 1;
for ($i = 1; $i <= $numrows; $i++) {
    $q = "select * from lot_desc where lotno='" . $currentlot . "' and division='" . $divi . "'";
    $rs2 = mysql_query($q) or die(mysql_error());
    while ($data2 = mysql_fetch_array($rs2)) {
    }
    echo "<tr>";
    echo "<td>";
    echo $i;
    echo "</td>";
    echo "<td>";
    $lotno = $lotnum[$i - 1];
    $lotno = addslashes($lotno);
    echo $lotnum[$i - 1] . "/" . $kapa . "(" . getExten($lotno, $divi) . ")";
    echo "</td>";
    echo "<td>";
    echo $unit[$i - 1];
    echo "</td>";
    echo "<td>";
    echo $range[$i - 1];
    echo "</td>";
    echo "<td>";
    echo $forests[$i - 1];
    echo "</td>";
    echo "<td>";
    echo $rsd[$i - 1];
    echo "</td>";
    echo "<td>";
    $rs = mysql_query("select sum(blaze)as sum from verify where lotno='" . $lotno . "' and Year='{$kapa}' and division='{$divi}'");
Ejemplo n.º 10
0
    /*header("Location: show_msg.php?msg='Details Already Entered '");
    	 exit;*/
}
$i = 1;
//$lotno="";
while ($data = mysql_fetch_array($rs)) {
    //if(($lotno==$data['lotno']) && ($divi=$data['division']))
    //continue;
    $lotno = $data['lotno'];
    $divi = $data['division'];
    //".addslashes($lotno)."
    $lotno = addslashes($lotno);
    //	$sum=$data['sum'];
    echo ' <tr>
				  	 <td>' . $i . '</td>
                    <td>' . $data['lotno'] . '/' . $kapa . '(' . getExten($lotno, $divi) . ')</td>
                    <td>' . sum_blazes($lotno, $divi, $kapa - 3) . '</td>
                    <td>' . sum_blazes($lotno, $divi, $kapa - 2) . '</td>
                    <td>' . sum_blazes($lotno, $divi, $kapa - 1) . '</td>
                    <td>' . sum_tenblazes($lotno, $divi, $kapa) . '</td>
                    <td>' . get_yield_fixed($lotno, $divi, $kapa - 3) . '</td>
                    <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 3) * sum_blazes($lotno, $divi, $kapa - 3) / 1000, 2) . ' </td>
                    <td>' . get_yield_Obtained($lotno, $divi, $kapa - 3) . '</td>
                    <td>' . round(get_yield_Obtained($lotno, $divi, $kapa - 3) * sum_blazes($lotno, $divi, $kapa - 3) / 1000, 2) . ' </td>
                     <td>' . get_yield_fixed($lotno, $divi, $kapa - 2) . '</td>
                    <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 2) * sum_blazes($lotno, $divi, $kapa - 2) / 1000, 2) . ' </td>
                    <td>' . get_yield_Obtained($lotno, $divi, $kapa - 2) . '</td>
                    <td>' . round(get_yield_Obtained($lotno, $divi, $kapa - 2) * sum_blazes($lotno, $divi, $kapa - 2) / 1000, 2) . ' </td>
                     <td>' . get_yield_fixed($lotno, $divi, $kapa - 1) . '</td>
                    <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 1) * sum_blazes($lotno, $divi, $kapa - 1) / 1000, 2) . ' </td>
                    <td>' . get_yield_ObtainedSS($lotno, $divi, $kapa - 1) . '</td>
Ejemplo n.º 11
0
			<div class="post">
			
				
				<h1><div style="float:left">Enter the LSM Details</div>
				
				
				
 <div style="float:right"><font size=2><?php 
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div></h1>
			 	<br>
				<form  method="post" enctype="multipart/form-data" name="form1" onsubmit="return check();" action="show_lsmdetails.php">
					<font size="4"><?php 
echo "Enter the details for Lot Number " . $lot . "/" . $year . "(" . getExten($lot, $divi) . ")";
?>
</font>
				<?php 
if (!ifalotted($lot, $divi, $year)) {
    ?>
					
					
		 <table border =0>
		<tr><td width="274"> Enter the LSM Name*</td>
		<td width="221"><input type="text" name="lsmname" /></td></tr>
		<tr><td> Date of Allotment of  the work*</td><td><select name="alotday"><option value=0>Day</option><?php 
    $day = range(1, 31);
    foreach ($day as $d) {
        echo '<option value=' . $d . '>' . $d . '</option>';
    }
Ejemplo n.º 12
0
			
			
			
			
			 	<br><br />
				<form action="Show_set_rateOb.php" method="post" enctype="multipart/form-data" id="form1">
					
				<?php 
echo " Enter Obtained Rates Per section in Qtls:";
echo "<table><tr><td>Lot Number</td><td>LSM Name</td><td>Carriage Rate</td><td>Transportation Rate</td></tr>";
$_SESSION['numlots'] = mysql_num_rows($data);
$i = 0;
while ($info = mysql_fetch_array($data)) {
    $lot = $info['lotno'];
    //$year=$_POST['year'];
    echo '<tr><td>' . $lot . '/' . $kapa . '(' . getExten($lot, $divi) . ')</td>
			
			<td><input type="text" name="lsm' . $i . '" onkeypress=\\"return isNumberKey(event)\\"/></td>
			<td><input type="text" name="ratecar' . $i . '" onkeypress=\\"return isNumberKey(event)\\"/></td>          <td><input type="text" name="ratetrans' . $i . '" onkeypress=\\"return isNumberKey(event)\\"/></td></tr>';
    $i++;
}
echo '</table>';
?>
					
					<input type="hidden" name='divi' value=<?php 
echo $divi;
?>
 />
					<input id="inputsubmit1" type="submit" style="background-color:#b6e38e; width: 60px;" name="inputsubmit1" value="Next" />
					</p>
					
Ejemplo n.º 13
0
Archivo: print.php Proyecto: hpie/hpie
$datan = mysql_query("SELECT DISTINCT lotno, division, frange,rsd FROM verify where division='{$divi}' and  year='{$kapa}' order by lotno") or die("No table");
$i = 1;
$ttl = 0;
$ttl1 = 0;
$ttl2 = 0;
echo "<table width=900px border=1><tr><td>S.No.</td><td>Lot No.</td><td>Unit</td><td>Range</td><td>Forests</td><td>Name of RSD</td><td>Forest Division</td><td>Actual No. of Blazes</td><td>No. of Blazes Declared Fit after Verification</td><td>No. of Blazes Declared Unfit</td></tr>";
while ($row = mysql_fetch_array($datan)) {
    $lotno = $row['lotno'];
    $currlot = addslashes($lotno);
    $divi = $row['division'];
    $frange = $row['frange'];
    $rsd = $row['rsd'];
    $totBlaze = getTotBlazes($currlot, $divi, $kapa);
    $fitBlaze = getFitBlazes($currlot, $divi, $kapa);
    $unfitBlaze = $totBlaze - $fitBlaze;
    echo "<tr><td>" . $i . "</td><td>" . $lotno . "/" . $kapa . "(" . getExten($currlot, $divi) . ")</td><td>" . getUnit($currlot, $divi) . "</td><td>" . $frange . "</td><td>" . getForests($currlot, $divi, $kapa) . "</td><td>" . $rsd . "</td><td>" . $divi . "</td><td>" . $totBlaze . "</td><td>" . $fitBlaze . "</td><td>" . $unfitBlaze . "</td></tr>";
    $ttl += $totBlaze;
    $ttl1 += $fitBlaze;
    $ttl2 += $unfitBlaze;
    $i++;
}
echo "<tr><td colspan=7><b><font color=red>Total</td><td><b><font color=red>" . $ttl . "</td><td><b><font color=red>" . $ttl1 . "</td><td><b><font color=red>" . $ttl2 . "</td></tr>";
echo "</table>";
?>
 <br>
<br>
<br>
<br>
<h3>Divisional Manager &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
Ejemplo n.º 14
0
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div></h1>
			 	<br>
				<?php 
$rs1 = mysql_query("select * from current_lsm where lotno='{$lot}' and division='{$divi}' and year='{$year}' and todate='0000-00-00'");
$row = mysql_fetch_array($rs1);
$lsmname = $row['LSMName'];
$fromdate = $row['fromdate'];
$ratecar = $row['ratecar'];
$ratetrans = $row['ratetrans'];
?>
				<form  method="post" enctype="multipart/form-data" name="form1" onsubmit="return check();" action="show_lsmdetailsD.php">
					<font size="4"><?php 
echo "Enter the date of ending work for Lot Number " . $lot . "/" . $year . "(" . getExten($lot, $divi) . ")";
?>
</font>
		 <table border =0>
		<tr><td width="274">Current LSM Name</td>
		<td width="221"><?php 
echo $lsmname;
?>
</td></tr>
		<tr><td width="274">Date of starting work</td>
		<td width="221"><?php 
echo getDDMMYY($fromdate) . "(dd-mm-yyyy)";
?>
</td></tr>
		
		
Ejemplo n.º 15
0

<br><br />
<form action="Show_set_yieldObSS.php" method="post"
	enctype="multipart/form-data" id="form1">

<?php 
echo "Enter the Yield Obtained per Section";
echo "<table><tr><td></td></tr>";
$i = 0;
while ($info = mysql_fetch_array($data)) {
    $lot = $info['lotno'];
    //TODO:Sunil
    $currlot = addslashes($lot);
    $year = $_POST['year'];
    echo '<tr><td>' . $lot . '/' . $year . '(' . getExten($currlot, $divi) . ')</td><td><input type="text" name="' . $i . '" onkeypress=\\"return isNumberKey(event)\\ value="' . get_yield_obtainedSS($currlot, $divi, $year) . '"/></td></tr>';
    $i++;
}
echo '</table>';
?>
<input type=hidden name=count value=<?php 
echo $i;
?>
 />
<input type="hidden" name='divi' value=<?php 
echo $divi;
?>
 />
<input type="hidden" name='year' value=<?php 
echo $year;
?>
Ejemplo n.º 16
0
</head>

<body>
<!-- wrap starts here -->



<table border="1" align="center">

	<tr>
		<td colspan="5">
		<div align="center" class="style1"><span class="style4"><strong>HIMACHAL
		PRADESH STATE FOREST CORPORATION LIMITED</strong></span><input
			type="button" onclick="print()" value="Print" /><br />
		<strong>ECONOMICS FOR RESIN LOT NO. <?php 
echo $lotno . "/" . $year . "(" . getExten($lotno, $divi) . ")";
?>
</strong></div>
		</td>
	</tr>
	<tr>
		<td>
		<div align="right"><span class="style5"><strong>1.</strong></span></div>
		</td>
		<td colspan="3">
		<div align="left"><span class="style3">Type of area </span></div>
		</td>
		<td><?php 
echo getTypeArea($lotno, $divi);
?>
</td>
Ejemplo n.º 17
0
while ($row = mysql_fetch_array($rs)) {
    $lotno = $row['lotno'];
    $currlot = addslashes($lotno);
    $divi = $row['division'];
    $rate = $row['rate'];
    $transrate = $row['tchargeavg'];
    $tenblazes = $row['tenblazes'];
    $leadmanD = array();
    $leadmanD = explode(",", $row['leadmanD']);
    $leadmulD = array();
    $leadmulD = explode(",", $row['leadmulD']);
    $leadtracD = array();
    $leadtracD = explode(",", $row['leadtracD']);
    $totblazes += $tenblazes;
    $leaddistance = ($row['leadmanD'] != 0) . "," . $row['leadmulD'];
    echo '<tr><td>' . $i . '</td><td>' . $lotno . '/' . $year . '(' . getExten($currlot, $divi) . ')</td><td>' . $tenblazes . '</td><td>' . get_yield_fixed($currlot, $divi, $year) . '</td><td>';
    foreach ($leadmanD as $lead) {
        if ($lead != 0) {
            echo $lead . ",";
        }
    }
    foreach ($leadmulD as $lead) {
        if ($lead != 0) {
            echo $lead . ",";
        }
    }
    foreach ($leadtracD as $lead) {
        if ($lead != 0) {
            echo $lead . ",";
        }
    }
Ejemplo n.º 18
0
<h1>
<div style="float: left">Show the LSM Details</div>



<div style="float: right"><font size=2><?php 
date_default_timezone_set('Asia/Calcutta');
print date("jS F Y, g:i A");
?>
</font></div>
</h1>
<br>
<form method="post" enctype="multipart/form-data" name="form1"
	onsubmit="return check();" action="save_lsm.php">
<font size="4"><?php 
echo "Showing LSM details for Lot Number " . $lot . "/" . $year . "(" . getExten($lot, $divi) . ") for review before save </font>";
echo ' <table border =0>
		<tr><td> LSM Name</td><td>' . $_POST['lsmname'] . '</td></tr>
		<tr><td> Date of Allotment the work</td><td>' . getDDMMYY($_SESSION['alotdate']) . '&nbsp;&nbsp;(dd-mm-yyyy)</td></tr>
		<tr><td> Date of starting the work</td><td>' . getDDMMYY($_SESSION['fromdate']) . '&nbsp;&nbsp;(dd-mm-yyyy)</td></tr>
		<tr><td> Negotiated rate for Extraction/carriage (per Qtls)</td><td>' . $_POST['ratecar'] . '</td></tr>
		<tr><td>Negotiated rate for transportation (per Qtls)</td><td>' . $_POST['ratetrans'] . '</td></tr>
		 </table>';
echo '	<br><input id="inputsubmit1" type="submit" style="background-color:#b6e38e; width: 60px;" name="inputsubmit1" value="Save"  />
					<br> ';
?>
</p>

</form>

</div>