示例#1
0
<?php

include "header.php";
include "subheader.php";
$transaction = new transaction();
$user = new user();
$user_data = $user->getbyid($user->getloggedid());
$balance = $transaction->balance();
if ($user_data['type'] == "seeker") {
    ?>
<script>
function selectprovider(pid)
{
	providerid=document.getElementById('provider_'+pid).value;
	loadPage('/ajax/project/selectprovider.php?projectid='+pid+'&providerid='+providerid);
}

function cancelprovider(pid)
{
	loadPage('/ajax/project/cancelprovider.php?projectid='+pid);
}


</script>
<div style="height:20px; clear:both;"></div>
<strong>List of All Projects You have Posted</strong>
<?php 
    $projectac = new project();
    $projectlist = $projectac->getAllProjectList();
    $objcommon = new common();
    if (is_array($projectlist)) {