예제 #1
0
</strong>&quot;</font>
</p>
<div class="lineBreak"></div>
<h3 class="heading">Services</h3>
<?php 
$service = new service();
$service->display_category();
?>
<br />



<h3 class="heading"> Featured Projects </h3>
<?php 
$projects = new project();
$projects_status = $projects->display_projects("featured", 1, $cat['id'], 0, 10, "order by rand()");
?>
<p align="right">
	<?php 
if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "SEEKER") {
    echo '<a href="post_project.php">Post Project</a>';
} else {
    if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "PROVIDER") {
        echo '<a href="post_project.php" onclick="javascript:messageBox(\'Only Seeker can post projects\'); return false;">Post Project</a>';
    } else {
        echo '<a href="post_project.php" onclick="javascript: messageBox(\'Please Login \'); return false;">Post Project</a>';
    }
}
if ($projects_status) {
    ?>
 | <a href="view_projects.php?category=<?php 
예제 #2
0
$maincategory = new maincategory();
$maincategory->display_category_usa();
?>
</td>
</tr>
<tr>
	<td>&nbsp;</td>
</tr>
<tr>
  <td class="heading">OutSource</td>
</tr>
<tr>
<td>
  <?php 
$projects = new project();
$projects_status = $projects->display_projects("", 2, 0, 0, 10, "order by rand()");
?>
    </td>
</tr>
<tr>
<td align="right">
<?php 
if ($projects_status) {
    ?>
  <a href="view_projects.php">View More</a> <?php 
}
?>
</td></tr>
</table>
<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/footer.php";
예제 #3
0
<?php

include $_SERVER['DOCUMENT_ROOT'] . "/header.php";
include $_SERVER['DOCUMENT_ROOT'] . "/subheader.php";
?>
<center><h2 >Outsource</h2></center><br />
<h3 class="heading">All Featured Project</h3>
 <?php 
$projects = new project();
$projects->display_projects("featured_private", 2, 0, 0, 10, "order by rand()");
?>
<br />
<?php 
include $_SERVER['DOCUMENT_ROOT'] . "/footer.php";
include $_SERVER['DOCUMENT_ROOT'] . "/subfooter.php";