includes/pageprocess.php
changeset 254 f49e3c8b638c
parent 253 6c7060d36a23
child 259 112debff64bd
equal deleted inserted replaced
253:6c7060d36a23 254:f49e3c8b638c
   805     }
   805     }
   806     echo '</table>';
   806     echo '</table>';
   807     
   807     
   808     echo '</div>';
   808     echo '</div>';
   809     echo '</td></tr>';
   809     echo '</td></tr>';
   810             
   810     
       
   811     $code = $plugins->setHook('userpage_sidebar_left');
       
   812     foreach ( $code as $cmd )
       
   813     {
       
   814       eval($cmd);
       
   815     }
       
   816     
   811     echo '  </table>
   817     echo '  </table>
   812           </div>';
   818           </div>';
   813     
   819     
   814     echo '</td><td valign="top" style="padding: 0 10px;">';
   820     echo '</td><td valign="top" style="padding: 0 10px;">';
   815     
   821     
   919     
   925     
   920     if ( empty($userdata['user_location']) && empty($userdata['user_job']) && empty($userdata['user_hobbies']) )
   926     if ( empty($userdata['user_location']) && empty($userdata['user_job']) && empty($userdata['user_hobbies']) )
   921     {
   927     {
   922       $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   928       $class = ( $class == 'row1' ) ? 'row3' : 'row1';
   923       echo '<tr><td class="'.$class.'">' . htmlspecialchars($target_username) . ' hasn\'t posted any real-life contact information.</td></tr>';
   929       echo '<tr><td class="'.$class.'">' . htmlspecialchars($target_username) . ' hasn\'t posted any real-life contact information.</td></tr>';
       
   930     }
       
   931     
       
   932     $code = $plugins->setHook('userpage_sidebar_right');
       
   933     foreach ( $code as $cmd )
       
   934     {
       
   935       eval($cmd);
   924     }
   936     }
   925     
   937     
   926     echo '  </table>
   938     echo '  </table>
   927           </div>';
   939           </div>';
   928           
   940