Guest

Untitled

By: a guest on Dec 15th, 2010  |  syntax: HTML  |  size: 3.42 KB  |  hits: 89  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. <script type='text/javascript'>
  2. new Ajax('./request/index/myReviewsByPage',{
  3.               method: 'get', evalScripts: true, update: $('reviewsContainer'),
  4.               onStart: $('reviewsContainer').setHTML(loader+' loading your reviews...')
  5.                                         }).request();
  6.           $('frm_ids').addEvent('submit',function(e){
  7.             e = new Event(e).stop();
  8.             new Ajax('./request/index/saveMyReviews',{
  9.                 method: 'post', evalScripts: true, update: $('noteBox'), data: $('frm_ids'),
  10.                 onStart: $('noteBox').setHTML(loader+' saving your settings...')
  11.             }).request();
  12.           });
  13.  
  14. </script>
  15.  
  16.  
  17.  
  18. <div id="casualBoxHolder">
  19.   <div id="casualBoxTop">
  20.     <div class="titles">
  21.                 <a href="<?php echo base_url();?>my_account" class="olive">My Account</a> |
  22.                 <a href="<?php echo base_url();?>my_account/messages" class="olive">My Messages</a> |
  23.                 <a href="<?php echo base_url();?>my_account/branding" class="olive">My Branding</a> |
  24.                 <a href="<?php echo base_url();?>my_account/edit_profile" class="olive">Edit Profile</a> |
  25.                 <a href="<?php echo base_url();?>my_account/reviews" class="turquise">Edit Reviews</a> |
  26.                 <a href="<?php echo base_url();?>subscriptions" class="olive">Subscriptions</a> |
  27.     <a href="<?php echo base_url();?>logout" class="olive">Logout</a>
  28.         </div>
  29.   </div>
  30.  
  31.   <div id="mainBoxContent">
  32.             <div class="whiteBox">
  33.                         <div class="whiteBoxTop">&nbsp;</div>
  34.  
  35. <?php if($profile!==FALSE) { ?>
  36.         <div>
  37.                 <noscript>
  38.                         <p style="width: 90%; margin: 0 auto;">Please enable JavaScript to use this feature.<br/>(PinoyRaket team is working on making an unobtrusive version of this page but please wait until they get rid of their being lazy :P)</p>
  39.                 </noscript>
  40.                   <div id="productBoxLeft">
  41.                                 <div class="productLeftSideBoxes" >
  42.                                         <h4>My Featured Reviews</h4>
  43.                                                 <div id="drop_zone">
  44.                                                         <p>Drag reviews that you want to be seen first on your profile here.</p>
  45.                                                 <?php for($i=0;$i<count($feats);$i++){ ?>
  46.                                                         <div class="feat_reviews">
  47.                                                                 <span class="rvc_switch" title="<?php echo $feats[$i]['review_id']?>">x</span>
  48.                                                                 <b><?php echo $feats[$i]['title']?></b>
  49.                                                         </div>
  50.                                                 <?php } ?>
  51.                                                 </div>
  52.                                                 <form action='#' id='frm_ids'>
  53.                                                         <fieldset id='feat_ids'>
  54.                                                                 <?php for($i=0;$i<count($feats);$i++){ ?>
  55.                                                                         <input type="hidden" name="id_review_<?php echo $feats[$i]['review_id']?>" id="id_review_<?php echo $feats[$i]['review_id']?>" value="review_<?php echo $feats[$i]['review_id']?>">
  56.                                                                 <?php } ?>
  57.                                                         </fieldset>
  58.              
  59.                                                         <input type="image" src="../assets/images/bt_submit.gif" />
  60.                                                 </form>
  61.             <div id="noteBox"></div>
  62.                                 </div>
  63.                         </div>
  64.  
  65.                         <div id="productBoxRight">
  66.                         <div id="productReviews">
  67.  
  68.                         <div id="reviewsContainer">
  69.                                 <?php if($count<=0){ ?>
  70.                                         <p>
  71.                                                 No reviews were written for you yet.<br/><br/>
  72.                                                 PinoyRaket consistently contacts employers whom you've worked with previously on our site and encourages them to write reviews for you.<br/><br/>
  73.                                         </p>
  74.                                 <?php } ?>
  75.                         </div>
  76.  
  77.                         </div><!--#productReviews ends here-->
  78.  
  79.  
  80.                         </div>
  81.                         </div>
  82. <?php }else{ ?>
  83.   <p>&nbsp;&nbsp;&nbsp;Sorry, the system cannot find a profile for the freelancer you requested.</p>
  84. <?php } ?>
  85.                     <div class="savior">&nbsp;</div>
  86.                 </div><!--.productBox ends here-->
  87.   </div><!--#mainBoxContent ends here-->
  88.   <div id="casualBoxBottom">&nbsp;</div>
  89.   </div>