Initial commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
if (!empty($_SESSION['site304_edit']))
|
||||
{
|
||||
?>
|
||||
|
||||
<div class="tag100">
|
||||
<div class="head_tag"><?php echo $lab_Tag_site304_003; ?></div>
|
||||
<div class="tag"><br/>
|
||||
<table WIDTH="100%" class="tag">
|
||||
<TR>
|
||||
<TD class="label"><?php echo $lab_Field_site204_001 ;?></TD>
|
||||
<TD class="label"><?php echo $lab_Field_site204_002 ;?></TD>
|
||||
<TD class="label"><?php echo $lab_Field_site204_003 ;?></TD>
|
||||
<TD class="label"><?php echo $lab_Field_site203_004 ;?></TD>
|
||||
</TR>
|
||||
|
||||
<?php
|
||||
$wynik = mysql_query("select ENG_ID,ENG_NAME,MCF_NAME,ENG_VOLTAGE,ENG_POWER from seg_engines left join seg_manufacturers on ENG_MCF_ID=MCF_ID where ENG_STATUS='1' order by ENG_NAME,ENG_POWER");
|
||||
if($wynik)while ($r = mysql_fetch_array($wynik))
|
||||
{
|
||||
$sql_1 = $r["ENG_ID"];
|
||||
$sql_2 = $r["MCF_NAME"];
|
||||
$sql_3 = $r["ENG_NAME"];
|
||||
$sql_4 = $r["ENG_VOLTAGE"]; $sql_4= str_replace(".", ",", $sql_4);
|
||||
$sql_5 = $r["ENG_POWER"]; $sql_5= str_replace(".", ",", $sql_5);
|
||||
|
||||
|
||||
echo"
|
||||
<TR STYLE='cursor: pointer;' onclick=".chr(34)."document.location.href='?pg=site304A&eng=$sql_1'".chr(34).">
|
||||
<TD class='field_left'>$sql_3</TD>
|
||||
<TD class='field_right'>$sql_4</TD>
|
||||
<TD class='field_right'>$sql_5</TD>
|
||||
<TD class='field_center'>$sql_2</TD>
|
||||
</TR>
|
||||
";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tag_buttons">
|
||||
<a class="btn btn-info btn-sm" style="text-decoration: none;" href="./?pg=site304" role="button"><?php echo $lab_ButtonName_Cancel; ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
else showFooterWarningAccessNotification($lab_FooterWarningAccessNotification_001);
|
||||
?>
|
||||
Reference in New Issue
Block a user