0) { header("location: /hub"); exit(); } $blks = mysqli_query($conx, "SELECT blocked_uid FROM blocking WHERE blocked_uid='$u_uid' && uid='$cnv_uid'"); $blkc = mysqli_num_rows($blks); if($blkc > 0) { header("location: /hub"); exit(); } // ************************ // // *** BLOCKING SYSTEM *** // // ************************ // // User theme colors $usri_q2 = mysqli_query($conx, "SELECT username_color,text_color FROM user_theme_colors WHERE uid='$cnv_uid' && theme_id='$g_themeid'"); $usri_r2 = mysqli_fetch_assoc($usri_q2); $username_color = $usri_r2['username_color']; $username_tcolor = $usri_r2['text_color']; # SELECT DESIGN EDITOR STYLING # $cnv_deq = mysqli_query($conx, "SELECT * FROM canvas_design WHERE uid='$cnv_uid'"); $cnv_der = mysqli_fetch_assoc($cnv_deq); $cnv_info_top_bar_bg = $cnv_der['info_top_bar_bg']; $cnv_info_top_bar_fc = $cnv_der['info_top_bar_fc']; $cnv_contain_username_bg = $cnv_der['contain_username_bg']; $cnv_contain_username_fc = $cnv_der['contain_username_fc']; $cnv_contain_username_fs = $cnv_der['contain_username_fs']; $cnv_contain_photo_bg = $cnv_der['contain_photo_bg']; $cnv_contain_photo_dot_wd = $cnv_der['contain_photo_dot_wd']; $cnv_contain_photo_dot_ht = $cnv_der['contain_photo_dot_ht']; $cnv_photo_edit_pencil_bg = $cnv_der['photo_edit_pencil_bg']; $cnv_photo_edit_pencil_bc = $cnv_der['photo_edit_pencil_bc']; $cnv_photo_edit_pencil_fc = $cnv_der['photo_edit_pencil_fc']; $cnv_photo_activity_dot_bc = $cnv_der['photo_activity_dot_bc']; $cnv_picture_rd = $cnv_der['picture_rd']; $cnv_picture_wd = $cnv_der['picture_wd']; $cnv_picture_ht = $cnv_der['picture_ht']; $cnv_bio_bg = $cnv_der['bio_bg']; $cnv_bio_bc = $cnv_der['bio_bc']; $cnv_bio_fc = $cnv_der['bio_fc']; $cnv_bio_fs = $cnv_der['bio_fs']; $cnv_header_bg = $cnv_der['header_bg']; $cnv_header_tds_fc = $cnv_der['header_tds_fc']; $cnv_bg = $cnv_der['bg']; $cnv_actbar = $cnv_der['actbar']; $cnv_actbar_fc = $cnv_der['actbar_fc']; $cnv_changes_update_bg = $cnv_der['changes_update_bg']; $cnv_changes_update_fc = $cnv_der['changes_update_fc']; $cnv_contain_design_editor_bg = $cnv_der['contain_design_editor_bg']; $cnv_contain_design_editor_fc = $cnv_der['contain_design_editor_fc']; $cnv_design_editor_title_fc = $cnv_der['design_editor_title_fc']; $cnv_design_editor_desc_fc = $cnv_der['design_editor_desc_fc']; $cnv_spoiler_bg = $cnv_der['spoiler_bg']; $cnv_spoiler_fc = $cnv_der['spoiler_fc']; $cnv_spoiler_hidden_bg = $cnv_der['spoiler_hidden_bg']; $cnv_spoiler_hidden_fc = $cnv_der['spoiler_hidden_fc']; $cnv_design_editor_input_bg = $cnv_der['design_editor_input_bg']; $cnv_design_editor_input_fc = $cnv_der['design_editor_input_fc']; $cnv_design_editor_input_ph = $cnv_der['design_editor_input_ph']; $cnv_footer_fc = $cnv_der['footer_fc']; $cnv_changes_update_bc = $cnv_der['changes_update_bc']; $cnv_contain_design_editor_bc = $cnv_der['contain_design_editor_bc']; # # # # # # # # WEBSITE LOCATION # # # # # # # # if($u_siteloc != '/canvas/' . $cnv_username) { if($cnv_username == $u_username) { $loc_desc = "viewin\' their canvas"; } else { $loc_desc = "stalkin\' a canvas"; } mysqli_query($conx, "UPDATE accounts SET site_locdesc='$loc_desc' WHERE uid='$u_uid'"); mysqli_query($conx, "UPDATE accounts SET site_locurl='/canvas/$cnv_username' WHERE uid='$u_uid'"); } ?>
">
"; $block_option = "no"; } # Display the appropriate badges earned by the user. // Community Manager Badge. if($cnv_comm_mang == 'yes') { echo " "; $block_option = "no"; } // Account Manager Badge. if($cnv_cont_mang == 'yes') { echo " "; $block_option = "no"; } // Design Police Badge. if($cnv_design_pol == 'yes') { echo " "; $block_option = "no"; } // Peacekeeper Badge. if($cnv_peacekpr == 'yes') { echo " "; $block_option = "no"; } // Donor Badge. if($cnv_donor == 'yes') { echo " "; } ?>
Account jailed"; } ?>
design mode"; } ?>
"> "; } ?>
">
">
"; echo "
"; } // If not, show online status else { echo "
"; } ?> ">
word-break: break-word;">
"; echo "
"; require_once("unasw_questions.php"); echo "
"; } else { echo "
"; } echo "
"; require_once("friends.php"); echo "
"; ?>