Initial commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
if (!empty($_SESSION['site306_edit']))
|
||||
{
|
||||
?>
|
||||
|
||||
<?php
|
||||
$decFieldLang = setDictionaryFieldLanguage($_SESSION['lang']);
|
||||
?>
|
||||
|
||||
|
||||
<div class="tag100">
|
||||
<div class="head_tag"><?php echo $lab_Tag_site306_002; ?></div>
|
||||
<div class="tag">
|
||||
<table WIDTH="100%" class="tag">
|
||||
<TR>
|
||||
<TD class="label"><?php echo $lab_Field_site208_001 ;?></TD>
|
||||
<TD class="label"><?php echo $lab_Field_site208_002 ;?></TD>
|
||||
</TR>
|
||||
<?php
|
||||
$wynik = mysql_query("select EQU_ID,EQU_NAME,MCF_NAME from seg_equipments left join seg_manufacturers on EQU_MCF_ID=MCF_ID where EQU_TYPE_ID=(select DIC_ID from sys_dictionaries where DIC_TYPE='DRS_DEV_TYPE' and DIC_NAME='CABLE') and EQU_STATUS='1' order by EQU_NAME");
|
||||
if($wynik)while ($r = mysql_fetch_array($wynik))
|
||||
{
|
||||
$sql_1 = $r["EQU_ID"];
|
||||
$sql_2 = $r["EQU_NAME"];
|
||||
$sql_3 = $r["MCF_NAME"];
|
||||
|
||||
echo"
|
||||
<TR STYLE='cursor: pointer;' onclick=".chr(34)."document.location.href='?pg=site306A&eq=$sql_1'".chr(34).">
|
||||
<TD class='field_left'>$sql_2</TD>
|
||||
<TD class='field_center'>$sql_3</TD>
|
||||
</TR>
|
||||
";
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tag_buttons">
|
||||
<a class="btn btn-info btn-sm" style="text-decoration: none;" href="./?pg=site306A" role="button"><?php echo $lab_ButtonName_Cancel; ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
else showFooterWarningAccessNotification($lab_FooterWarningAccessNotification_001);
|
||||
?>
|
||||
Reference in New Issue
Block a user