コード例 #1
0
ファイル: viewProjectList.php プロジェクト: khanals/rbs-ext
<?php

//header("content-type: application/x-javascript");
$serverIP = $_SERVER['REMOTE_ADDR'];
//echo "document.write(\"".$serverIP."".$serverIP."\")";
$tab = "<span style=\"padding-left: 100px\"></span>";
$testfeed1 = 'Project Name' . $tab . 'Bids' . $tab . 'Avg Bid' . $tab . 'Job Type' . $tab . 'Started' . $tab . 'Ends';
echo $testfeed1;
echo "<br/>";
echo "<br/>";
foreach ($projectlist_result->result() as $row) {
    $start_date = get_date($row->created);
    $end_date = get_date($row->enddate);
    $arr_start = explode(' ', $start_date);
    $arr_end = explode(' ', $end_date);
    $testfeed = $row->project_name . $tab . getNumBid($row->id) . $tab . getBidsInfo($row->id) . $tab . $row->project_categories . $tab . $arr_start[0] . $tab . $arr_end[0];
    echo $testfeed;
    //$somevariable = file_get_contents("http://localhost/prabhu/iboxaudio/app/views/affiliate/test.txt");
    //echo ($somevariable);
}
exit;
コード例 #2
0
ファイル: listProjects.php プロジェクト: khanals/rbs-ext
                          </td>
                          <td align=center class=<?php 
        echo $class;
        ?>
 align=right>
                          <?php 
        echo getNumBid($listProject->id);
        ?>
&nbsp;
                          </td>
                          <td align=center class=<?php 
        echo $class;
        ?>
 align=right>
                          <?php 
        echo getBidsInfo($listProject->id);
        ?>
 &nbsp;
                          </td>
                          <td class=<?php 
        echo $class;
        ?>
><?php 
        echo getCategoryLinks($listProject->project_categories);
        ?>
</td>
                          <td class=<?php 
        echo $class;
        ?>
><?php 
        echo get_date($listProject->created);
コード例 #3
0
ファイル: myProjects.php プロジェクト: khanals/rbs-ext
            echo image_url('private.png');
            ?>
" width="14" height="14" title="private project" alt="<?php 
            echo $this->lang->line('Private Project');
            ?>
" /><?php 
        }
        ?>
</td> <td> <?php 
        echo $numbids = getNumBid($myProjects->id);
        ?>
 </td><td> <?php 
        echo getLowBid($myProjects->id);
        ?>
 </td><td> <?php 
        echo getBidsInfo($myProjects->id);
        ?>
 </td><td>
									  <?php 
        echo getProjectStatus($myProjects->project_status);
        ?>
								  </td><td><?php 
        echo get_date($myProjects->created);
        ?>
</td><td>
								  <?php 
        if ($numbids != 0 && ($myProjects->project_status == 0 || $myProjects->project_status == 1) || $myProjects->flag == 1) {
            ?>
								  <a href="<?php 
            echo site_url('project/pickProvider/' . $myProjects->id);
            ?>
コード例 #4
0
ファイル: viewJoblist.php プロジェクト: khanals/rbs-ext
            ?>
                                  </td>
                                  <?php 
        }
        if ($this->session->userdata('show_bids')) {
            ?>
                                  <td><?php 
            echo getNumBid($project->id);
            ?>
</td>
                                  <?php 
        }
        if ($this->session->userdata('show_avgbid')) {
            ?>
                                  <td><?php 
            echo getBidsInfo($project->id);
            ?>
</td>
                                  <?php 
        }
        if ($this->session->userdata('show_date')) {
            ?>
                                  <td><?php 
            echo get_date($project->created);
            ?>
</td>
                                  <?php 
        }
        if ($this->session->userdata('show_closedate')) {
            ?>
                                  <td><?php 
コード例 #5
0
ファイル: myProjects.php プロジェクト: khanals/rbs-ext
" /><?php 
            }
            ?>
</td>
								  <td class="<?php 
            echo $class;
            ?>
"><?php 
            echo getNumBid($wonBid->id);
            ?>
</td>
                                  <td class="<?php 
            echo $class;
            ?>
"><?php 
            echo getBidsInfo($wonBid->id);
            ?>
</td>
								  <td class="<?php 
            echo $class;
            ?>
"><?php 
            echo getProjectStatus($wonBid->project_status);
            ?>
</td>
								  <td class="<?php 
            echo $class;
            ?>
"><?php 
            echo get_date($wonBid->created);
            ?>