Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ apptech-resource.com.bd/ Wp-Administrator/

/home/bdapparelinfo/apptech-resource.com.bd/Wp-Administrator/ins_Pages_Content.php

<?php include('modul/user_query.php');

	//$result =$sql_cat=mysql_query("SELECT * FROM `$tableName` WHERE `parents_cat_id`='0' ORDER BY `id` ASC");
?>
         <table align="left" border="0" cellpadding="0" cellspacing="0" width="900px">
                     <tbody><tr>
                         <td valign="top">
                <!--end validation-->



<table align="left" border="0" cellpadding="0" cellspacing="0" width="900px">
            
            <tbody><tr>
                <td valign="top"><br><h1 style="color:#2d2d2d;">Users Management</h1><br></td>
            </tr>

            <tr>
                <td valign="top">
                   <table class="user-table" style="background-color: rgb(255, 255, 255);" align="center" border="0" cellpadding="0" cellspacing="2" width="895px">
                        <tbody><tr>                                                                         
                            <td style="background-color: rgb(229, 229, 229); border-bottom: 1px solid rgb(204, 204, 204); padding-left: 10px; color: rgb(0, 0, 0);" height="30">
                            <h2><a href="dashboard.php?cid=<?=$Pages;?>"><img src="images/icon-16-user.png" border="0"> View Content</a></h2>
                            </td>
                        </tr>
    
                        <tr>                                                                         
                            <td>  <form method="post" action="" class="largetype fluidcontrols"  id="Formselectvalue" name="frmSample" onsubmit="return smVali();" enctype="multipart/form-data">
                                                                <!--add user st-->
               <table style="margin-left: 50px; margin-top: 30px;" align="left" border="0" cellpadding="0" cellspacing="0" width="800px">
                                        <tbody>											  
										<tr>
                                            <td height="30" colspan="3" align="center">
											<?php
											if($_GET['msg']=="1")	{
													echo "<b>Product successfully added</b>";												
												}	
											elseif($_GET['msg']=="3")	{
													echo "<b>Product successfully Updated</b>";												
												}	
											?></td>
                                        </tr>
										<tr>
                                            <td><strong>Pages Name:</strong></td>
                                            <td colspan="2">
                                            
                                              <select class="regi-submit" name="pages_name">
					  <?php if($pages_name){?>
					  <option value="<?php echo $sqlcat['url_name'];?>" selected="selected"> <?php echo $sqlcat['cat_name'];?></option>
					  <?php }else{?><?php }?>
					  <option value="0"> Select Pages</option>
                                                <?php require_once 'all_cat.php';?>    
                                              </select>                                            
                                            </td>
                                        </tr>
										
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
										
										<tr>
                                            <td><strong>Post Position:</strong></td>
                                            <td colspan="2">
                                            
                                              <select class="regi-submit" name="post_position">
					  <?php if(empty($raw['post_position'])){?>				  
					  <option value="Body" selected="selected"> Select Position</option>  
					  <option value="Body"> Body</option>   
					  <option value="Product Image"> Product Image</option>   
					  <option value="Right Bar Info"> Right Bar Info</option>   
					  <option value="Gallery"> Gallery </option>  
					  <?php }else{?>
					  <option value="<?=$raw['post_position'];?>" selected="selected"> <?=$raw['post_position'];?></option>	
					  <option value="Body"> Select Position</option>  
					  <option value="Body"> Body</option>  
					  <option value="Product Image"> Product Image</option>  
					  <option value="Right Bar Info"> Right Bar Info</option>
					  <option value="Gallery"> Gallery </option>  
					  <?php }?>
                                              </select> 
                                            
                                            </td>
                                        </tr>
										
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
										<tr>
                                            <td><strong>Title:</strong></td>
                                            <td colspan="2"><input class="regi-submit" value="<?=$raw['title'];?>" name="title" type="text">
                                            </td>
                                        </tr>
										
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
										<!--<tr>
                                            <td><strong>Price:</strong></td>
                                            <td colspan="2"><input class="regi-submit" value="<?=$raw['price'];?>" name="price" type="text">
                                            </td>
                                        </tr>
										
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
										<tr>
                                            <td><strong>Size:</strong></td>
                                            <td colspan="2"><input class="regi-submit" value="<?=$raw['size'];?>" name="size" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
										<tr>
                                            <td><strong>Model:</strong></td>
                                            <td colspan="2"><input class="regi-submit" value="<?=$raw['model'];?>" name="model" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>-->
                                        
                                       
                                        <tr>
                                            <td colspan="2"><strong>Details::</strong></td>
                                        </tr>
                                       
                                       
                                        <tr>
                                            <td colspan="3">
                                            <textarea name="des"><?=$raw['description'];?> </textarea>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
                                        <tr>
                                            <td align="right">Image :</td>
                                            <td>
                                                <input class="input-file" id="u_img1" name="u_img1" type="file">
                                    <?php if($IMG1!=''){?><img src="../media/<?=$IMG1;?>" width="65" height="65"><?php }?>
                                    
									Images 2 : <input class="input-file" id="u_img2" name="u_img2" type="file">
                                    <?php //if($IMG2!=''){?><img src="../media/<?=$IMG2;?>" width="65" height="65"><?php //}?>
                                            </td>                                                     
                                        </tr>

                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>
                                        
                                        <tr>
                                            <td align="right">Image 3 :</td>
                                            <td>
                                                <input class="input-file" id="u_img3" name="u_img3" type="file">
                                    <?php if($IMG3!=''){?><img src="../media/<?=$IMG3;?>" width="65" height="65"><?php }?>
                                    
									Images 4 : <input class="input-file" id="u_img4" name="u_img4" type="file">
                                    <?php if($IMG4!=''){?><img src="../media/<?=$IMG4;?>" width="65" height="65"><?php }?>
                                            </td>                                                     
                                        </tr>
										
										
										
										
                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">
										<?php if(!$ID){?>
										<input class="btn btn-primary" name="addpages" value="Add" type="submit">
										<?php }else{?>
										<input name="edit_id" value="<?=$ID;?>" type="hidden">
										<input name="img_old1" value="<?=$IMG1;?>"  type="hidden">
										<input name="img_old2" value="<?=$IMG2;?>"  type="hidden">
										<input name="img_old3" value="<?=$IMG3;?>"  type="hidden">
										<input name="img_old4" value="<?=$IMG4;?>"  type="hidden">
										<input class="btn btn-primary" name="editpages" value="Update" type="submit">
										<?php }?></td>
                                        </tr>

                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan="2">&nbsp;</td>
                                        </tr>

                                     </tbody></table>
										</form>	

                                      							  
                                <!--add user end -->
                            </td>
                        </tr>
                    </tbody></table>
                 </td>
             </tr>
</tbody></table>
			

    <script type="text/javascript">

      $( function () {
        
  twitter.screenNameKeyUp();
  $('#user_screen_name').focus();

      });
    

</script>


			</td>
                     </tr>
                     
                     <tr>
                         <td>&nbsp;</td>
                     </tr>
         </tbody></table>
      </td>
      </tr>

      <tr>
           <td class="menu-headerbg">&nbsp;</td>
           <td colspan="2"><table style="height: 1px; font-size: 1px;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr>
        <td>&nbsp;</td>
    </tr>
</tbody></table>