home_header.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <div class="globalContent warpContent indexContent clearfix">
  2. <div class="sidebar">
  3. <div class="userAvtra">
  4. <img src="<?php echo $data['avatar']['180']; ?>" height="180" width="180">
  5. <p><?php if( $data['userinfo']['expert']==1 ): ?><span class="expIcon"></span><?php endif; ?><?php echo $data['userinfo']['username']; ?></p>
  6. <p><a class="levIcon lev<?php echo $data['userinfo']['lv']; ?>" title="等级<?php echo $data['userinfo']['lv']; ?>"></a><!-- <a class="userIcon vcard"></a><a class="userIcon vmailEnb"></a> --></p>
  7. <?php if( $data['who']=="我" ): ?>
  8. <div class="myOver"><p>余额:<b class="colOrange">¥<?php echo $data['userinfo']['credit3']; ?></b></p><p>
  9. <a class="button btn-red btn-large" target="_blank" href="http://sso.smartcost.com.cn/deposit">充值</a>
  10. </p></div>
  11. <?php endif; ?>
  12. </div>
  13. <div class="myMenu">
  14. <div class="myMenuEntry <?php if( $data['mod']=='' ): ?> now <?php endif; ?>">
  15. <a class="fir" href="/home/<?php echo $data['userinfo']['uid']; ?>"><?php echo $data['who']; ?>的首页</a>
  16. </div>
  17. <div class="myMenuEntry <?php if( $data['mod']=='answer' ): ?> now <?php endif; ?> ">
  18. <a class="fir" href="/home_answer/<?php echo $data['userinfo']['uid']; ?>"><?php echo $data['who']; ?>的回答</a>
  19. </div>
  20. <div class="myMenuEntry <?php if( $data['mod']=='question' ): ?> now <?php endif; ?>">
  21. <a class="fir" href="/home_question/<?php echo $data['userinfo']['uid']; ?>"><?php echo $data['who']; ?>的提问</a>
  22. </div>
  23. <?php if( $data['who']!='ta' ): ?>
  24. <div class="myMenuEntry <?php if( $data['mod']=='myoder' ): ?> now <?php endif; ?>">
  25. <a class="fir" href="/home_pay_oder">我的账单</a>
  26. </div>
  27. <div class="myMenuEntry <?php if( $data['mod']=='info' ): ?> now <?php endif; ?>">
  28. <a class="fir" href="/home_per_info">我的设置</a>
  29. </div>
  30. <?php endif; ?>
  31. </div>
  32. </div>
  33. <div class="mainContent boxShadow">