コード例 #1
0
    if (isset($user_profile['PIC_AID']) && ($attachment = attachments_get_by_aid($user_profile['PIC_AID']))) {
        if (($profile_picture_href = attachments_make_link($attachment, false, false, false, false)) !== false) {
            echo "                                  ", html_style_image('profile_image profile_image_large', null, null, array('background-image' => sprintf("url('%s&profile_picture')", $profile_picture_href))), "\n";
        }
    }
}
echo "                              </td>\n";
echo "                            </tr>\n";
echo "                          </table>\n";
echo "                        </td>\n";
echo "                      </tr>\n";
echo "                    </table>\n";
echo "                  </td>\n";
echo "                </tr>\n";
echo "              </table>\n";
if (($user_profile_array = user_get_profile_entries($uid)) !== false) {
    foreach ($user_profile_array as $psid => $user_profile_item_array) {
        if (isset($profile_sections[$psid]) && is_array($profile_sections[$psid])) {
            echo "              <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" class=\"profile_items_section\">\n";
            echo "                <tr>\n";
            echo "                  <td align=\"center\">\n";
            echo "                    <table width=\"96%\" cellpadding=\"0\" cellspacing=\"0\">\n";
            echo "                      <tr>\n";
            echo "                        <td align=\"center\">\n";
            echo "                          <table width=\"95%\">\n";
            echo "                            <tr>\n";
            echo "                              <td align=\"left\" class=\"postbody\"><b>", word_filter_add_ob_tags($profile_sections[$psid]['NAME'], true), "</b></td>\n";
            echo "                            </tr>\n";
            echo "                            <tr>\n";
            echo "                              <td align=\"center\">\n";
            echo "                                <table width=\"94%\" class=\"profile_items\">\n";
コード例 #2
0
    } else {
        echo "                            <tr>\n";
        echo "                              <td align=\"right\" class=\"subhead\">\n";
        echo "                                <div class=\"profile_image_none\"></div>\n";
        echo "                              </td>\n";
        echo "                            </tr>\n";
    }
}
echo "                          </table>\n";
echo "                        </td>\n";
echo "                      </tr>\n";
echo "                    </table>\n";
echo "                  </td>\n";
echo "                </tr>\n";
echo "              </table>\n";
if ($user_profile_array = user_get_profile_entries($uid)) {
    foreach ($user_profile_array as $psid => $user_profile_item_array) {
        if (isset($profile_sections[$psid]) && is_array($profile_sections[$psid])) {
            echo "              <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" class=\"profile_items_section\">\n";
            echo "                <tr>\n";
            echo "                  <td align=\"center\">\n";
            echo "                    <table width=\"96%\" cellpadding=\"0\" cellspacing=\"0\">\n";
            echo "                      <tr>\n";
            echo "                        <td align=\"center\">\n";
            echo "                          <table width=\"95%\">\n";
            echo "                            <tr>\n";
            echo "                              <td align=\"left\" class=\"postbody\"><b>", word_filter_add_ob_tags($profile_sections[$psid]['NAME'], true), "</b></td>\n";
            echo "                            </tr>\n";
            echo "                            <tr>\n";
            echo "                              <td align=\"center\">\n";
            echo "                                <table width=\"94%\" class=\"profile_items\">\n";