View Single Post
  #10  
Old 08-24-2005, 09:34 PM
JMH11788 JMH11788 is offline
 
Join Date: Jan 2005
Location: Ohio
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the custom code I've added to the template...

PHP Code:
<!-- / Specs Hack -->
<if 
condition="$post['field19'] == '1'">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
     <
td class="tcat" width="100%">$userinfo[username]'s $vbphrase[rig_specs]</td>
</tr>
<tr valign="top">

    <td class="panelsurround" align="center">
    <div class="panel">
        <div align="$stylevar[left]">
        
        <div class="fieldset">
                <div style="padding:$stylevar[formspacer]px">
                
                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_specs_system]</legend>    
<if condition="$post['
field20'] AND $post['field19'] == '1'">
    CPU: <strong>$post[field20]</strong><br>
</if>
<if condition="$post['
field21'] AND $post['field19'] == '1'">
    Motherboard: <strong>$post[field21]</strong><br>
</if>
<if condition="$post['
field23'] AND $post['field19'] == '1'">
    Memory: <strong>$post[field23]</strong><br>
</if>
<if condition="$post['
field24'] AND $post['field19'] == '1'">
    Graphics Card: <strong>$post[field24]</strong><br>
</if>
<if condition="$post['
field28'] AND $post['field19'] == '1'">
    Sound Card: <strong>$post[field28]</strong><br>
</if>
<if condition="$post['
field25'] AND $post['field19'] == '1'">
    Hard Drive(s): <strong>$post[field25]</strong><br>
</if>
<if condition="$post['
field26'] AND $post['field19'] == '1'">
    Cooling: <strong>$post[field26]</strong><br>
</if>
<if condition="$post['
field27'] AND $post['field19'] == '1'">
    Power Supply: <strong>$post[field27]</strong><br>
</if>
<if condition="$post['
field29'] AND $post['field19'] == '1'">
    Case: <strong>$post[field29]</strong><br>
</if>
<if condition="$post['
field30'] AND $post['field19'] == '1'">
    Monitor: <strong>$post[field30]</strong><br>
</if>
<if condition="$post['
field32'] AND $post['field19'] == '1'">
    Keyboard: <strong>$post[field32]</strong><br>
</if>
<if condition="$post['
field33'] AND $post['field19'] == '1'">
    Mouse: <strong>$post[field33]</strong><br>
</if>
<if condition="$post['
field31'] AND $post['field19'] == '1'">
    Operating System(s): <strong>$post[field31]</strong><br>
</if>
                </fieldset>
                
                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_speeds]</legend>     
<if condition="$post['
field34'] AND $post['field19'] == '1'">
    CPU - Stock: <strong>$post[field34]</strong><br>
</if>
<if condition="$post['
field35'] AND $post['field19'] == '1'">
    CPU - Overclocked: <strong>$post[field35]</strong><br>
</if>
<if condition="$post['
field36'] AND $post['field19'] == '1'">
    Graphics Card - Stock: <strong>$post[field36]</strong><br>
</if>
<if condition="$post['
field37'] AND $post['field19'] == '1'">
    Graphics Card - Overclocked: <strong>$post[field37]</strong><br>
</if>
<if condition="$post['
field40'] AND $post['field19'] == '1'">
    Memory - Stock: <strong>$post[field40]</strong><br>
</if>
<if condition="$post['
field41'] AND $post['field19'] == '1'">
    Memory - Overclocked: <strong>$post[field41]</strong><br>
</if>
<if condition="$post['
field42'] AND $post['field19'] == '1'">
    Memory Timings: <strong>$post[field42]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_temps]</legend>     
<if condition="$post['
field43'] AND $post['field19'] == '1'">
    CPU Temperature - Idle: <strong>$post[field43]</strong><br>
</if>
<if condition="$post['
field44'] AND $post['field19'] == '1'">
    CPU Temperature - Load: <strong>$post[field44]</strong><br>
</if>
<if condition="$post['
field55'] AND $post['field19'] == '1'">
    Graphics Card Temp - Idle: <strong>$post[field55]</strong><br>
</if>
<if condition="$post['
field56'] AND $post['field19'] == '1'">
    Graphics Card Temp - Load: <strong>$post[field56]</strong><br>
</if>
<if condition="$post['
field45'] AND $post['field19'] == '1'">
    Ambient Temperature: <strong>$post[field45]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_benchmarks]</legend>     
<if condition="$post['
field48'] AND $post['field19'] == '1'">
    3DMark05 Score: <strong>$post[field48]</strong><br>
</if>
<if condition="$post['
field47'] AND $post['field19'] == '1'">
    3DMark03 Score: <strong>$post[field47]</strong><br>
</if>
<if condition="$post['
field46'] AND $post['field19'] == '1'">
    3DMark01SE Score: <strong>$post[field46]</strong><br>
</if>
<if condition="$post['
field51'] AND $post['field19'] == '1'">
    AquaMark3 Score: <strong>$post[field51]</strong><br>
</if>
<if condition="$post['
field52'] AND $post['field19'] == '1'">
    PCMark05 Score: <strong>$post[field52]</strong><br>
</if>
<if condition="$post['
field49'] AND $post['field19'] == '1'">
    SiSoft Sandra 2005 - CPU Score: <strong>$post[field49]</strong><br>
</if>
<if condition="$post['
field50'] AND $post['field50'] == '1'">
    SiSoft Sandra 2005 - RAM Score: <strong>$post[field31]</strong><br>
</if>
<if condition="$post['
field57'] AND $post['field57'] == '1'">
    SuperPi Score: <strong>$post[field31]</strong><br>
</if>
<if condition="$post['
field53'] AND $post['field19'] == '1'">
    eCalc Score: <strong>$post[field53]</strong><br>
</if>
</fieldset>

                <fieldset class="fieldset">    
                <legend>$vbphrase[rig_other]</legend>     
<if condition="$post['
field54'] AND $post['field19'] == '1'">
     $post[field31]<br>
</if>
</fieldset>
                </div>
              </div>
          </td>
     </tr>
</table>
</if>

<!-- / End Specs Hack --> 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01248 seconds
  • Memory Usage 1,851KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete