Example #1
0
  <p><strong>Item Details --- Fields with * mark are required</strong></p>
  <table width="613" border="0" cellspacing="2">
    
    <tr>
      <td colspan="2">Ad Title *</td>
      <td colspan="2"><span id="sprytextfield2">
        <input name="title" type="text" id="text2" value="<?php 
echo $title;
?>
" size="40" maxlength="40" tooltipText="Give your ad a suitable title. for e.g. Samsung Galaxy S for Sale" />
      <span class="textfieldRequiredMsg">A value is required.</span></span></td>
    </tr>
    <tr>
      <td colspan="2">Posted Under</td>
      <td width="402"><font size="-1" color="#666666"><?php 
echo getsec($section);
?>
 &gt;&gt; 
      <a href="<?php 
echo kbase();
?>
/index.php?option=com_content&view=article&id=32&q=&country=<?php 
echo $section;
?>
&state=<?php 
echo $category;
?>
" target="_blank" style="text-decoration:none"><?php 
echo getcat($category);
?>
      <input name="unique_id" type="hidden" id="hiddenField" value="<?php 
Example #2
0
        echo $row['sp'];
        ?>
/-</font>
            <?php 
        if ($row['pn'] == 'yes') {
            echo '( Price Negotiable )';
        }
        ?>
            </td>
      </tr>
	      <tr>
	        <td colspan="2"><font size="-1" color="#333333">Posted On :</font> <font size="-1" color="#666666"><?php 
        echo $row['date'];
        ?>
</font> &nbsp;&nbsp;<font size="-1" color="#333333">under</font>&nbsp;: <font size="-1" color="#666666"><?php 
        echo getsec($row['section']);
        ?>
 &gt;&gt; 
     <a href="results.php?q=&section=<?php 
        echo $row['section'];
        ?>
&category=<?php 
        echo $row['category'];
        ?>
" target="_parent" style="text-decoration:none"><?php 
        echo getcat($row['category']);
        ?>
</a></font></td>
      </tr>
	      <tr>
	        <td width="144"><hr  /></td>
Example #3
0
<table width="700" border="0">
  <tr>
    <td><b><font size="+2" color="#333333"><?php 
echo $ad['title'];
?>
</font></b></td>
  </tr>
</table>
<table width="700" border="0">
  <tr>
    <td width="200"><font size="-1" color="#666666">Click on Pictures to Enlarge them</font></td>
    <td width="500"><font size="-1" color="#333333">Posted On :</font> <font size="-1" color="#666666"><?php 
echo $ad['date'];
?>
</font> &nbsp;&nbsp;&nbsp;&nbsp;<font size="-1" color="#333333">under</font>&nbsp;: <font size="-1" color="#666666"><?php 
echo getsec($ad['section']);
?>
 &gt;&gt; 
    <?php 
echo getcat($ad['category']);
?>
 &gt;&gt; 
    <?php 
echo getbrand($ad['brand']);
?>
</font></td>
  </tr>
</table>
<table width="711" border="0">
  <tr>
    <td width="304" rowspan="3"><a href="<?php 
Example #4
0
$startpoint = $page * $limit - $limit;
if (!is_numeric($page)) {
    die('invalid page number');
}
////////////////////////////////////////////////////////////////////
if (!is_numeric($_SESSION['gid'])) {
    die('invalid group id');
}
$q = "select name from groups where id=" . $_SESSION['gid'];
$result = mysql_query($q) or die('modjresults sqlerr');
$row = mysql_fetch_array($result);
if ($type == 1) {
    $text = "<strong>Presenting search results from: </strong>" . $row['name'];
} else {
    if ($type == 2) {
        $text = "<strong>Ads from Category : </strong>" . getsec($_GET['section']);
    }
}
?>
<!-- Begin Body -->
<div id="wrap"> 
<div class="container">
	<div class="row">
  			<div class="col-md-3" id="leftCol">
              
              	<?php 
include 'sidebar.php';
?>
              
      		</div>  
      		<div class="col-md-9">
Example #5
0
	      <tr>
	        <td colspan="2"><strong>Phone No. :</strong><?php 
            echo $row['contact'];
            ?>
</td>
	        <td width="472"><strong>Email : </strong><?php 
            echo $row['email'];
            ?>
</td>
      </tr>
	      <tr>
	        <td colspan="3"><font size="-1" color="#333333">Posted On :</font> <font size="-1" color="#666666"><?php 
            echo $row['timestamp'];
            ?>
</font> &nbsp;&nbsp;<font size="-1" color="#333333">under</font>&nbsp;: <font size="-1" color="#666666"><?php 
            echo getsec($row['sec']);
            ?>
 &gt;&gt; 
    <?php 
            echo getcat($row['cat']);
            ?>
</font></td>
      </tr>
	      <tr>
	        <td colspan="3"><hr  /></td>
      </tr>
    <?php 
        }
        ?>
    </table>
    <?php