    <? if($_SESSION['page'] == '5' and $_SESSION['section'] == '4') { ?>
	
    <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
      <tr>
        <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="Main_Text">Payment methods</td>
            <td width="10%" class="Main_Text"><div align="right"><img src="image/more_info.gif" width="32" height="32" border="0" /></a></div></td>
          </tr>
          <tr>
            <td colspan="2">
            
            <? if ($_GET['stat'] == '') { ?>
            
            <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image/subheader_icon.gif" width="12" height="12" /><strong class="text2">&nbsp;&nbsp;&nbsp;The list of all Payment methods</strong></p>
              <table width="95%" border="0" align="center">
                <tr>
                  <td  class="Main_Text1">payment Type</td>
                  <td  class="Main_Text1">Delete</td>
                </tr>
                    <? 
					 $result1 = mysql_query("SELECT * FROM ".$dcm_table_start."payment where delete_row =0",$db); 
						while($row = mysql_fetch_array($result1)){ 
						?>
                            <tr class="Main_SText">
                              <td  class="Main_SText">&nbsp;<strong><? echo $row['Payment']; ?></strong></td>
                              <td  class="Main_Text"><a href="index.php?stat=delete&id=<? echo $row['id'];?>"><img src="image/edit.gif" width="24" height="24" border="0" /></a></td>
                            </tr>                                    
						<?
						}
						?>
              </table>
              
              <form id="form1" name="form1" method="post" action="index.php?stat=add">
<br />
&nbsp;&nbsp;&nbsp;&nbsp;
<input name="Submit" type="submit" class="Button1" id="Submit" value="   Add New   " /><br /><br />
              </form>
              <? } 
			  if ($_GET['stat'] == 'add' ) {				
			  ?>
              
   
 	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          
          <tr>
            <td colspan="2">
		
			  
               <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image/subheader_icon.gif" width="12" height="12" /><strong class="text2">&nbsp;&nbsp;add new</strong></p>
               <form id="form2" name="form2" method="post" action="index.php?stat=addnew">
                 <table width="95%" border="0" align="center">
                   <tr>
                     <td width="250" class="Main_Text1">payment Type</td>
                     <td width="80%"  class="text_row1"><span id="sprytextfield1">
                     <input type="text" name="Payment" id="Payment" />
                     <span class="textfieldRequiredMsg">A value is required.</span></span></td>
                   </tr>
                 </table>
                 <p>&nbsp;&nbsp;&nbsp;&nbsp;
                   <input name="Submit2" type="submit" class="Button1" id="Submit2" value="   Add   " />
                 </p>
              </form>
	 		  <? } ?>
      <script type="text/javascript">
			<!--
			var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none");
			
			//-->
      </script>

<? } ?>
