<html>
<head>
<link href="../../css/pop_up style.css" rel="stylesheet" type="text/css">
<script src="../../js/jquery/jquery.js" type="text/javascript"></script>
<script src="../../js/jquery/jquery-1.8.2.js"></script>
<script src="../../js/jquery/jquery-ui.js"></script>
<script src="../../js/user_screen_name_ajax.js" type="text/javascript"></script>
<script src="../../js/enter_event_ajax.js"       type="text/javascript"></script>

<style type="text/css">
<!--
.style10 {color: #F00}
-->
</style></head>
<?php
error_reporting(0);
$edit_id=$_GET['edit_id'];
include("../../include/db.php");
  $sql="select * from sub_screen where screen_id='$_GET[edit_id]' ";
  $rs=mysql_query($sql);
  while($rsdata=mysql_fetch_array($rs))
  {
	  $screen_names=$rsdata['screen_name'];
	  $sub_screens=$rsdata['sub_screen'];
  }
?>

<style type="text/css">
.txt{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size:13px;}

.style2 {color: #FF0000}
.style7{font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 13px;}
.headings{ font-family:verdana; font-size:10px;}
.style9 {font-size: 12}
</style>
<body style="margin:0px;" bgcolor="#f7f7f7">
    <table width="100%">
  <tr>
    <td colspan="6" class="heading"><strong>User Screen</strong></td>
  </tr>
    <tr>
    <td colspan="6">&nbsp;</td>
  </tr>

<tr>

  <td width="65" align="left" valign="top" class="field">&nbsp;</td>
  <td width="173" class="txt" >User Name<span class="style2">*</span></td>
  <td width="257" align="left" class="txt"><select name="form_name" id="form_name" autofocus tabindex="1" style="width:150px; height:30px;" onChange="user_screen_clear_validate(this.value)">
    <option value="">Select</option>
    <option value="1" <?php if($screen_names == "DashBoard"){?> selected="selected" <?php }?>>DashBoard</option>
<option value="2" <?php if($screen_names == "Master Entry"){?> selected="selected" <?php }?>>Master Entry</option>
<option value="21" <?php if($screen_names == "User Type Creation"){?> selected="selected" <?php }?>>User Type Creation</option>
<option value="22" <?php if($screen_names == "User Name Creation"){?> selected="selected" <?php }?>>User Name Creation</option>
<option value="23" <?php if($screen_names == "User Screen"){?> selected="selected" <?php }?>>User Screen</option>
<option value="24" <?php if($screen_names == "User Rights Creation"){?> selected="selected" <?php }?>>User Rights Creation</option>
<option value="25" <?php if($screen_names == "Party Creation"){?> selected="selected" <?php }?>>Party Creation</option>
<option value="26" <?php if($screen_names == "Unit Measurement"){?> selected="selected" <?php }?>>Unit Measurement</option>
<option value="27" <?php if($screen_names == "Company Creation"){?> selected="selected" <?php }?>>Company Creation</option>
<option value="28" <?php if($screen_names == "Operator Creation"){?> selected="selected" <?php }?>>Operator Creation</option>
<option value="29" <?php if($screen_names == "Shift Creation"){?> selected="selected" <?php }?>>Shift Creation</option>
<option value="30" <?php if($screen_names == "Machine Creation"){?> selected="selected" <?php }?>>Machine Creation</option>
<option value="31" <?php if($screen_names == "RollSize Creation"){?> selected="selected" <?php }?>>RollSize Creation</option>
<option value="32" <?php if($screen_names == "Fabric Type Creation"){?> selected="selected" <?php }?>>Fabric Type Creation</option>
<option value="33" <?php if($screen_names == "Job Type Creation"){?> selected="selected" <?php }?>>Job Type Creation</option>
<option value="34" <?php if($screen_names == "Consumable Creation"){?> selected="selected" <?php }?>>Consumable Creation</option>
<option value="35" <?php if($screen_names == "Payment Terms"){?> selected="selected" <?php }?>>Payment Terms</option>
<option value="3" <?php if($screen_names == "JobCard Module"){?> selected="selected" <?php }?>>JobCard Module</option>
<option value="36" <?php if($screen_names == "New Jobcard Creation"){?> selected="selected" <?php }?>>New Jobcard Creation</option>
<option value="37" <?php if($screen_names == "Sample Jobcard Creation"){?> selected="selected" <?php }?>>Sample Jobcard Creation</option>
<option value="38" <?php if($screen_names == "Media Entry"){?> selected="selected" <?php }?>>Media Entry</option>
<option value="39" <?php if($screen_names == "Pending JobCard"){?> selected="selected" <?php }?>>Pending JobCard</option>
<option value="4" <?php if($screen_names == "Delivery Module"){?> selected="selected" <?php }?>>Delivery Module</option>
<option value="40" <?php if($screen_names == "Inward Entry"){?> selected="selected" <?php }?>>Inward Entry</option>
<option value="41" <?php if($screen_names == "Fabric Delivery Challan"){?> selected="selected" <?php }?>>Fabric Delivery Challan</option>
<option value="42" <?php if($screen_names == "Return Form"){?> selected="selected" <?php }?>>Return Form</option>
<option value="43" <?php if($screen_names == "Sticker Delivery Challan"){?> selected="selected" <?php }?>>Sticker Delivery Challan</option>
<option value="44" <?php if($screen_names == "Empty can DC Form"){?> selected="selected" <?php }?>>Empty can DC Form</option>
<option value="45" <?php if($screen_names == "Delivery Report"){?> selected="selected" <?php }?>>Delivery Report</option>
<option value="5" <?php if($screen_names == "Consumable"){?> selected="selected" <?php }?>>Consumable</option>
<option value="46" <?php if($screen_names == "Ink Entry"){?> selected="selected" <?php }?>>Ink Entry</option>
<option value="47" <?php if($screen_names == "Media Purchase"){?> selected="selected" <?php }?>>Media Purchase</option>
<option value="48" <?php if($screen_names == "Ink Purchase"){?> selected="selected" <?php }?>>Ink Purchase</option>
<option value="6" <?php if($screen_names == "Printing"){?> selected="selected" <?php }?>>Printing</option>
<option value="49" <?php if($screen_names == "Printer Production Entry"){?> selected="selected" <?php }?>>Printer Production Entry</option>
<option value="50" <?php if($screen_names == "Job No wise Report"){?> selected="selected" <?php }?>>Job No wise Report</option>
<option value="51" <?php if($screen_names == "Operator wise Report"){?> selected="selected" <?php }?>>Operator wise Report</option>
<option value="52" <?php if($screen_names == "Machine wise Report"){?> selected="selected" <?php }?>>Machine wise Report</option>
<option value="53" <?php if($screen_names == "Printing Report"){?> selected="selected" <?php }?>>Printing Report</option>
<option value="7" <?php if($screen_names == "Fusing"){?> selected="selected" <?php }?>>Fusing</option>
<option value="54" <?php if($screen_names == "Fusing Production Entry"){?> selected="selected" <?php }?>>Fusing Production Entry</option>
<option value="55" <?php if($screen_names == "Job No wise Report"){?> selected="selected" <?php }?>>Job No wise Report</option>
<option value="56" <?php if($screen_names == "Operator wise Report"){?> selected="selected" <?php }?>>Operator wise Report</option>
<option value="57" <?php if($screen_names == "Machine wise Report"){?> selected="selected" <?php }?>>Machine wise Report</option>
<option value="58" <?php if($screen_names == "Fusing Report"){?> selected="selected" <?php }?>>Fusing Report</option>
<option value="8" <?php if($screen_names == "Invoice"){?> selected="selected" <?php }?>>Invoice</option>
<option value="59" <?php if($screen_names == "Unbilling List"){?> selected="selected" <?php }?>>Unbilling List</option>
<option value="60" <?php if($screen_names == "Billing List"){?> selected="selected" <?php }?>>Billing List</option>
<option value="61" <?php if($screen_names == "Porforma Billing List"){?> selected="selected" <?php }?>>Porforma Billing List</option>
<option value="62" <?php if($screen_names == "Pay Slip"){?> selected="selected" <?php }?>>Pay Slip</option>
<option value="63" <?php if($screen_names == "Pay Slip Report"){?> selected="selected" <?php }?>>Pay Slip Report</option>
<option value="64" <?php if($screen_names == "Customer Wise Report"){?> selected="selected" <?php }?>>Customer Wise Report</option>
<option value="65" <?php if($screen_names == "Inhouse job Report Total"){?> selected="selected" <?php }?>>Inhouse job Report Total</option>
<option value="66" <?php if($screen_names == "Jobcard Wise Report"){?> selected="selected" <?php }?>>Jobcard Wise Report</option>
<option value="67" <?php if($screen_names == "Total Stock Wise Report"){?> selected="selected" <?php }?>>Total Stock Wise Report</option>
<option value="68" <?php if($screen_names == "Wages Report"){?> selected="selected" <?php }?>>Wages Report</option>
<option value="69" <?php if($screen_names == "Customer wise Report"){?> selected="selected" <?php }?>>Customer wise Report</option>
<option value="70" <?php if($screen_names == "Date wise Report"){?> selected="selected" <?php }?>>Date wise Report</option>
<option value="71" <?php if($screen_names == "Sample Customer Wise Report"){?> selected="selected" <?php }?>>Sample Customer Wise Report</option>
<option value="72" <?php if($screen_names == "Date Wise Report"){?> selected="selected" <?php }?>>Date Wise Report</option>
<option value="73" <?php if($screen_names == "Designer Wise Report"){?> selected="selected" <?php }?>>Designer Wise Report</option>
<option value="74" <?php if($screen_names == "Ink Report"){?> selected="selected" <?php }?>>Ink Report</option>
<option value="75" <?php if($screen_names == "Media Report"){?> selected="selected" <?php }?>>Media Report</option>
<option value="76" <?php if($screen_names == "Stock Report"){?> selected="selected" <?php }?>>Stock Report</option>
<option value="77" <?php if($screen_names == "Media Usage Analyze Report"){?> selected="selected" <?php }?>>Media Usage Analyze Report</option>
<option value="78" <?php if($screen_names == "Ink Usage Consolidated Report"){?> selected="selected" <?php }?>>Ink Usage Consolidated Report</option>
<option value="79" <?php if($screen_names == "Media Usage Console Report"){?> selected="selected" <?php }?>>Media Usage Console Report</option>
<option value="80" <?php if($screen_names == "Fabric Report"){?> selected="selected" <?php }?>>Fabric Report</option>
<option value="81" <?php if($screen_names == "Job Process Report"){?> selected="selected" <?php }?>>Job Process Report</option>
<option value="82" <?php if($screen_names == "Consumable Return Form"){?> selected="selected" <?php }?>>Consumable Return Form</option>
<option value="83" <?php if($screen_names == "Jobcard Quotation"){?> selected="selected" <?php }?>>Jobcard Quotation</option>
<option value="84" <?php if($screen_names == "Quotation Customer Report"){?> selected="selected" <?php }?>>Quotation Customer Report</option>
<option value="85" <?php if($screen_names == "Deleted Jobcard"){?> selected="selected" <?php }?>>Deleted Jobcard</option>
<option value="86" <?php if($screen_names == "Deleted Billing"){?> selected="selected" <?php }?>>Deleted Billing</option>

  </select></td>
  <td width="286" align="left" class="txt">User Sub Screen<span class="style2">*</span></td>
  <td width="526" align="left" class="txt">
    <input type="text" name="sub_screen" id="sub_screen" onKeyUp="enterevent(event,'action','sub_screen'),user_screen_clear_validate(this.value)" style="width:150px; height:30px;" tabindex="2" value="<?php if($_GET['edit_id']
!=''){ echo $sub_screens; } ?>"> </td>
  </tr>
    <tr>
    <td colspan="2" ></td><td> <div id="form_name_div" style="color:#F00"></div></td><td></td><td> <div id="sub_screen_name_div" style="color:#F00"></div></td>
  </tr>

        <tr>  
    <td height="65" colspan="8" align="center" class="style7"><input type="button" name="action"  style="height:28px; width:50px" id="action" tabindex="3" value="<?php if($_GET['edit_id']!='') { echo "EDIT";  } else { echo "ADD"; } ?>"  class="add_button" onClick="user_screen_add(form_name.value,sub_screen.value,'<?php echo $edit_id; ?>',this.value)"/>&nbsp;&nbsp;</td>
            </tr>
</table>

</body>
</html>