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
/ home1/ bdapparelinfo/ public_html/

//home1/bdapparelinfo/public_html/post_free_add.php

<?php
/**
 * @link: http://www.Awcore.com/dev
 */
    //connect to the database
    include('paginator.class.php');
    include_once ('config.php'); 

	$sq=$_REQUEST["sq"]; 
	$query = "SELECT COUNT(*) FROM categories_list WHERE title like '$sq%' ORDER BY `title` ASC";
	$result = mysql_query($query) or die(mysql_error());
	$num_rows = mysql_fetch_row($result);
	
	$pages = new Paginator;
	$pages->items_total = $num_rows[0];
	$pages->mid_range = 3; // Number of pages to display. Must be odd and > 3
	$pages->paginate();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<title>Garments Machinery, Textile Machinery, Sewing Machine, Garments Industry, Textiles Mills, Garments Accessories, Yellow Pages of Bangladesh</title>
<meta name="keywords"
content="Bdtrade" />
<meta name="description" content="Bdtrade" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

		<link rel="stylesheet" type="text/css" href="css/style.css" />
		<!--================pasignation===================-->
	<link href="pasignation/pagination.css" rel="stylesheet" type="text/css" />
	<link href="pasignation/B_blue.css" rel="stylesheet" type="text/css" />
			<!--================end link pasignation===================-->
			<script language="JavaScript" src="script/gen_validatorv4.js" type="text/javascript" xml:space="preserve"></script>
			<!--================end Form Validation===================-->
</head>
<body>


<?php //include 'top.php';?>

<?php include 'header.php';?>



<div id="main">
  <?php //include 'left_menu.php';?>
	  <!--<div id="content">-->
		<div class="conL" style="width:99.5%; border:1px solid #D0DBED">   
		<h5> Post a Free <b>Add</b>  </h5> 
		
	 <link type="text/css" href="bjmea-admin/css/jquery.cleditor.css" rel="stylesheet" />
	<script type='text/javascript' src='bjmea-admin/js/jquery-1.4.2.min.js'></script>	<!-- jquery library -->
	<script type='text/javascript' src='bjmea-admin/js/jquery-ui-1.8.5.custom.min.js'></script> <!-- jquery UI -->
	<script type='text/javascript' src='bjmea-admin/js/cufon-yui.js'></script> <!-- Cufon font replacement -->
	<script type='text/javascript' src='bjmea-admin/js/ColaborateLight_400.font.js'></script> <!-- the Colaborate Light font -->
	<script type='text/javascript' src='bjmea-admin/js/easyTooltip.js'></script> <!-- element tooltips -->
	<script type='text/javascript' src='bjmea-admin/js/jquery.tablesorter.min.js'></script> <!-- tablesorter -->
	
	<!--[if IE 8]>
		<script type='text/javascript' src='bjmea-admin/js/excanvas.js'></script>
		<link rel="stylesheet" href="bjmea-admin/css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
 
	<!--[if IE 7]>
		<script type='text/javascript' src='bjmea-admin/js/excanvas.js'></script>
		<link rel="stylesheet" href="bjmea-admin/css/IEfix.css" type="text/css" media="screen" />
	<![endif]--> 
	
	<script type='text/javascript' src='bjmea-admin/js/visualize.jQuery.js'></script> <!-- visualize plugin for graphs / statistics -->
	<script type='text/javascript' src='bjmea-admin/js/iphone-style-checkboxes.js'></script> <!-- iphone like checkboxes -->
	<script type='text/javascript' src='bjmea-admin/js/jquery.cleditor.min.js'></script> <!-- wysiwyg editor -->
	<script type='text/javascript' src='bjmea-admin/js/custom.js'></script> <!-- the "make them work" script -->
	
<!--=============================teaxtarea table===========================-->
 <style type="text/css" xml:space="preserve">
.error_strings{ font-size:14px; color:#CC0000; font-weight:bold; line-height:25px;}
</style>
	 
		
    <form action="add_list_submit.php" method="post" enctype="multipart/form-data"  name="myform" id="myform">
      <table align="center" cellpadding="2" cellspacing="1">
	  <tr>
	  <td align="center" colspan="3"> <?php

								if(isset($_GET['Message']))

								{
							?>
									<?php echo $_GET['Message']; ?>
							<?php

								}

							?></span></td>
	  
	  
	  </tr>
        <tr>
          <td align="right" class="section_text">Categories Name</td>
          <td align="center"><strong>:</strong></td>
          <td style=" color:#FF0000; font-weight:bold"><label>
            <select class="admin_form_field_text" name="cat_name">
              <option value="000" selected="selected"> Select Categories</option>
              <?php 
					require_once 'config.php';
					$SQL = "select * from categories_list ORDER BY `title` ASC";
					$query = mysql_query($SQL);	 				
					while ($result = mysql_fetch_array($query))
					{
						?>
              <option value="<?php echo $result['id'];?> "><?php //echo $result['id'];?> <?php echo $result['title'];?></option>
              <?php
						}
						?>
            </select>
          </label>*</td>
        </tr>
        <tr>
          <td align="right" class="section_text"> </td>
          <td align="left" colspan="2" style=" color:#FF0000; font-weight:bold">	<?php

								if(isset($_GET['ErrorMessage']))

								{
							?>
									<?php echo $_GET['ErrorMessage']; ?>
							<?php

								}

							?></span></td>
        </tr>
        <tr>
          <td align="right" class="section_text">Company Name</td>
          <td align="center"><strong>:</strong></td>
          <td><input name="company_name" type="text" class="admin_form_field_text" id="company_name" /></td>
        </tr>
		  <tr>
			<td align="right" class="section_text">Title</td>
			<td align="center">&nbsp;</td>
			<td><input name="title" type="text" class="admin_form_field_text" id="title" /></td>
		  </tr>
        <tr>
          <td align="right" class="section_text">Contact Email</td>
          <td align="center"><strong>:</strong></td>
          <td><input name="email" type="text" class="admin_form_field_text" id="email" /></td>
        </tr>
  <tr>
    <td align="right" class="section_text">Address</td>
    <td align="center">&nbsp;</td>
    <td><input name="address" type="text" class="admin_form_field_text" id="address" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">City</td>
    <td align="center">&nbsp;</td>
    <td><input name="city" type="text" class="admin_form_field_text" id="city" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Country</td>
    <td align="center">&nbsp;</td>
    <td><input name="country" type="text" class="admin_form_field_text" id="country" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Telephone</td>
    <td align="center">&nbsp;</td>
    <td><input name="telephone" type="text" class="admin_form_field_text" id="telephone" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Fax</td>
    <td align="center">&nbsp;</td>
    <td><input name="fax" type="text" class="admin_form_field_text" id="fax" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Website</td>
    <td align="center">&nbsp;</td>
    <td><input name="website" type="text" class="admin_form_field_text" id="website" /></td>
  </tr>
  <tr>
    <td align="right" class="section_text">Contact Person</td>
    <td align="center">&nbsp;</td>
    <td><input name="contact_person" type="text" class="admin_form_field_text" id="contact_person" /></td>
  </tr>
        <tr>
          <td width="137" align="right" class="section_text">Image</td>
          <td width="37" align="center"><strong>:</strong></td>
          <td width="381"><input name="image"  type="file"  id="name" /></td>
        </tr>
        <tr>
          <td align="right" class="section_text">Description</td>
          <td align="center"><strong>:</strong></td>
          <td class="thin_text">( Type: address, Tel, Fax, Mob, Email, Web &amp; Product Details )</td>
        </tr>
        <tr>
          <td colspan="3"><label>
            <textarea name="des" class="editor" id="des"></textarea>
          </label></td>
        </tr>
        <tr>
          <td colspan="3"><div id="myform_errorloc" class="error_strings"> </div></td>
        </tr>
        <tr>
          <td align="right" class="section_text">&nbsp;</td>
          <td align="center">&nbsp;</td>
          <td><input id="submit" type="submit" name="create"  value="Create Add"/></td>
        </tr>
        <tr>
          <td colspan="6" align="right" class="section_text">&nbsp;</td>
        </tr>
      </table>
    </form><script language="JavaScript" type="text/javascript" xml:space="preserve">//<![CDATA[
//You should create the validator only after the definition of the HTML form
  var frmvalidator  = new Validator("myform");
 frmvalidator.EnableOnPageErrorDisplaySingleBox();
 frmvalidator.EnableMsgsTogether();
 
  frmvalidator.addValidation("cat_name","dontselect=000");
  
  frmvalidator.addValidation("company_name","req"," * Please enter your Company Name");
  frmvalidator.addValidation("company_name","maxlen=2000",	"Max length for Company Name is 2");
  //frmvalidator.addValidation("company_name","alpha_s","Name can contain alphabetic chars only");
  
  
  frmvalidator.addValidation("email","maxlen=50");
  frmvalidator.addValidation("email","req");
  frmvalidator.addValidation("email","email");
  
  frmvalidator.addValidation("image","file_extn=jpg;gif;png","Allowed files types are: jpg;gif;png");
  //frmvalidator.addValidation("image","req_file","* File upload is required");
  
  frmvalidator.addValidation("des","maxlen=5000");
//]]></script>
		
					 
  </div> <!--end conL--><!--end conL-->
		
	  <?php //include 'right.php';?>
   <!--</div>end content-->
</div> <!--end main-->

     <?php include 'footer.php';?>