Guest User

help !!!

a guest
Jun 15th, 2011
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 8.50 KB | None | 0 0
  1. <?php
  2.  
  3. $scape = $_GET["scape"];
  4. $sso = $sscape->options;
  5. $sss = $sscape->sociable;
  6. $ssen = $sscape->nova;
  7. $print_get_char = "?";
  8.  
  9. if (strlen(trim(get_option("permalink_structure"))) == 0)
  10.     $print_get_char = "&";
  11.  
  12. if ($scape == "print") bScape::loadheaderprint($sso["engine_name"]);
  13. else get_header();
  14.  
  15. $tags_start = '<div class="posttags">'.$sscape->geticon('tags').'Tags: ';
  16.  
  17. ?>
  18.  
  19. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  20.  
  21. <?php $address=wptexturize(get_post_meta($post->ID, "Address", true)); ?>
  22. <?php $phone=wptexturize(get_post_meta($post->ID, "Phone", true)); ?>
  23. <?php $fax=wptexturize(get_post_meta($post->ID, "Fax", true)); ?>
  24. <?php $mail_id =wptexturize(get_post_meta($post->ID, "Mail-Id", true)); ?>
  25. <?php $webaddress =wptexturize(get_post_meta($post->ID, "webaddress", true)); ?>
  26. <?php $logo =wptexturize(get_post_meta($post->ID, "logo", true)); ?>
  27. <?php $goods =wptexturize(get_post_meta($post->ID, "goods", true)); ?>
  28. <?php $bads =wptexturize(get_post_meta($post->ID, "bads", true)); ?>
  29.  
  30. <div class="postitem">
  31.     <div class="posttitle">
  32.         <!--<?php if ($sso["datebutton_post"] == 1) : ?>
  33.         <div class="postdate">
  34.             <div class="postmonth"><?php the_time('M') ?></div>
  35.             <div class="postday"><?php the_time('d') ?></div>
  36.             <div class="postyear"><?php the_time('Y') ?></div>
  37.         </div>    
  38.         <?php endif; ?>-->
  39. <?php if ($logo != '') : ?>
  40.         <img src="<?php bloginfo('template_url'); ?>/images/coaching/<?php echo $logo?>" alt="<?php the_title(); ?>" />
  41. <?php else :?>
  42.        <h2><?php the_title(); ?></h2>
  43. <?php endif; ?>
  44. <br>
  45. </div>
  46.         <!--<div class="postsub"><?php echo $sscape->geticon('date'); ?>Posted on <?php the_time('H:i, F jS, Y') ?> by <strong><a href="<?php bloginfo('url'); ?>/index.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></strong></div>
  47.     </div>
  48.     <?php if ($sso["tags_post"] == 1 && $sso["tags_location"] == 'top') the_tags($tags_start, ', ', '</div>'); ?>
  49.     <div class="postline"></div>-->
  50. <?php $view_web_site=wptexturize(get_post_meta($post->ID, "cstfld1", true)); ?>
  51. <div class="postcustomdatamain">
  52. <table width="100%" border="0" cellspacing="5">
  53. <tr>
  54. <td>
  55. <a href="http://www.khojiye.com/reviews/buy/"> <img src="http://www.khojiye.com/banner.gif" alt="the IItians' fundae" width="79" height="104" /></a>
  56. </td>
  57. <td>
  58. <b><a href="http://www.khojiye.com/reviews/buy/"> Click here to know more about and buy <i>the IITians' fundae</i> - a book authored by the IITians' and containing interviews, fundaes by the IITians' and surveys of the
  59. IITians and its analysis to understand rankwise study strategy followed, number of hours studied, subject-wise priority etc. Know what goes inside the mind of successful IITians
  60. while they are preparing. Understand how they plan their studies, how they divide their time among different subjects and similar interesting survey based reports on traits of IITians
  61. <br> Scroll down to read expert and student reviews</a></b>
  62. </tr>
  63. </td>
  64. </table>
  65. <table width="100%" border="0" cellspacing="5">
  66. <tr>
  67. <td>
  68. <div class="postcustomdata">
  69. <table width="100%" border="0" cellspacing="5">
  70.   <tr width="33%">
  71.     <td><img src="<?php bloginfo('template_url'); ?>/images/All-mail.png" alt="Post" width="32" height="32" /></td>
  72.     <td ><?php echo $address ?></td>
  73.   </tr>
  74.   <tr>
  75.     <td><img src="<?php bloginfo('template_url'); ?>/images/Phone-48.png" alt="Phone" width="32" height="32" /></td>
  76.     <td><?php echo $phone ?><?php echo $view_web_site?></td>
  77.   </tr>
  78.   <tr>
  79.     <td><img src="<?php bloginfo('template_url'); ?>/images/FXSRES.DLL_I13ad_0409.png" alt="Fax" width="32" height="32" /></td>
  80.     <td><?php echo $fax ?></td>
  81.   </tr>
  82.   <tr>
  83.     <td><img src="<?php bloginfo('template_url'); ?>/images/Sent-Mail.png" alt="E-Mail" width="32" height="32" /></td>
  84.     <td><?php echo $mail_id ?></td>
  85.   </tr>
  86.   <tr>
  87.     <td><img src="<?php bloginfo('template_url'); ?>/images/Globe Connected.png" width="32" height="32" alt="Web Site" /></td>
  88.     <td><a href="<? echo $webaddress ?>" target="_blank"><?php echo $webaddress ?></a></td>
  89.   </tr>
  90.  
  91. </table></div></td>
  92. <td width="33%"><div class="postcustomdata"> &nbsp;&nbsp; Student Ratings <br/><?php wp_gdsr_render_multi(1, 12, true, 0, 'oxygen', 16, 'oxygen_gif', 'oxygen', 12, 'oxygen_gif');?>
  93. </div></td>
  94. <td width="33%"><div class="postcustomdata"> &nbsp;&nbsp; Expert Ratings <br/>
  95. <?php wp_gdsr_show_multi_review(1, 25, 0, 'oxygen', 16, 'oxygen_gif', 'oxygen', 20, 'oxygen_gif');?>
  96. </div></td>
  97. </tr>
  98. <tr>
  99.  <td >&nbsp;Math Department <br> <?php wp_gdsr_render_multi(4, 26, false, 0, 'oxygen', 16, 'oxygen_gif', 'oxygen', 16, 'oxygen_gif');?> </td>
  100.  <td>&nbsp;Physics Department <br> <?php wp_gdsr_render_multi(3, 26, false, 0, 'oxygen', 16, 'oxygen_gif', 'oxygen', 16, 'oxygen_gif');?> </td>
  101. <td>&nbsp;Chemistry Department <br> <?php wp_gdsr_render_multi(5, 26, false, 0, 'oxygen', 16, 'oxygen_gif', 'oxygen', 16, 'oxygen_gif');?> </td>
  102. </tr>
  103. </table>
  104.  
  105. <table width="100%" border="0" cellspacing="5">
  106.   <tr>
  107.  
  108.     <td width="44%" align="middle" class="grnborder" ><span style="color:#008000; float: right; margin-right:50px; margin-left:50px; font-size: 13px"><b><?php echo $goods ?></b></span></td>
  109.     <td width="6%" bgcolor="#66FF00" class="postcustomdatagrn" ><strong>GOOD</strong></div></td>
  110.     <td width="6%" bgcolor="#FF0000" class="postcustomdatared" align="center"><strong>BAD</strong></div></td>
  111.     <td width="44%" bgcolor="#FF0055" class="redborder"><span style="color:#FF0000; float: left; margin-left:50px; margin-right:50px;font-size: 13px"><b><?php echo $bads ?></b></span></td>
  112.   </tr>
  113. </table>
  114. <table width="100%" border="0" cellspacing="5">
  115.   <tr>
  116. <?php
  117.  
  118. $parts = explode(",",get_the_title($post->ID));
  119. //break the string up around the "/" character in $mystring
  120.  
  121. $mystring = $parts['0']; ?>
  122. <td width="100%" ><div class="posttext"><p align= "center"><span style="font-size: 14px; text-align:center;"> <b>The Review of <?php echo $mystring; ?></b></span></p>
  123. <br />
  124. <b>Please bear with us while we are busy writing the reviews for the coaching class. You can meanwhile checkout our first book 'the iitians' fundae' <a href="http://www.khojiye.com/reviews/buy/">here</a>. If you want us to review a specific class you can't find here, tell about it to us <a href="http://www.khojiye.com/reviews/submit">here</a>. Or if you want to remain updated, you can register <a href="http://www.khojiye.com/reviews/wp-login.php?action=register">here</a>
  125. or subscribe to our newsletter [Please see the sidebar]. You can also visit our sister sites '<a href="http://www.khojiye.com/gyaan">gyaan</a>' to read articles or '<a href="http://www.khojiye.com/salaah">salaah</a>' to ask any doubts you have.</b>
  126.  
  127. <?php the_content('Read the rest of this entry &raquo;'); ?><?php link_pages(); ?></div></td>
  128.   </tr>
  129. </table>
  130. </div>
  131.         <?php if ($scape != "print" && $sss["digg_active"] == 1 && $sss["digg_display_post"] == 1 && $sss["digg_position"] == "top") include(TEMPLATEPATH."/modules/digg.php"); ?>
  132.            <?php if ($scape != "print" && $sss["digg_active"] == 1 && $sss["digg_display_post"] == 1 && $sss["digg_position"] == "bottom") include(TEMPLATEPATH."/modules/digg.php"); ?>
  133.     <?php if ($sso["tags_post"] == 1 && $sso["tags_location"] == 'bottom') the_tags($tags_start, ', ', '</div>'); ?>
  134.     <div class="postpanel"><?php echo $sscape->geticon('category'); ?>Posted in <?php the_category(', ') ?>
  135.     <?php if ($scape != "print") : ?> |
  136.         <?php if ($sso["print_post"] == 1) { ?>
  137.         <?php edit_post_link($sscape->geticon('edit').'Edit', '', ' | '); ?><?php echo $sscape->geticon('print'); ?><a href="<?php the_permalink(); echo $print_get_char; ?>scape=print">Print</a>
  138.         <?php } else { ?>
  139.         <?php edit_post_link($sscape->geticon('edit').'Edit', '', ''); ?>
  140.     <?php } endif; ?>
  141.     </div>
  142.     <?php
  143.        
  144.         if ($sso["related_active"] == 1)
  145.             include(TEMPLATEPATH."/modules/related.php");
  146.    
  147.         if ($sso["postauthor_active_post"] == 1) {
  148.             $ss_author = $post->post_author;
  149.             include(TEMPLATEPATH."/modules/author.php");
  150.         }
  151.        
  152.     ?>
  153. </div>
  154.  
  155. <?php comments_template(); ?>
  156.  
  157. <?php endwhile; ?>
  158.  
  159. <?php else : ?>
  160. <div class="postitem">
  161.     <div class="posttitle">
  162.         <h2>Post not found.</h2>
  163.         <?php include (TEMPLATEPATH."/modules/searchform.php"); ?>
  164.     </div>
  165. </div>
  166. <?php endif; ?>
  167.  
  168. <?php
  169.  
  170. if ($scape == "print") bScape::loadfooterprint($sso["engine_name"]);
  171. else get_footer();
  172.  
  173. ?>
Advertisement
Add Comment
Please, Sign In to add comment