diff --git a/hub/index.php b/hub/index.php new file mode 100644 index 0000000..b8907bb --- /dev/null +++ b/hub/index.php @@ -0,0 +1,415 @@ + + + + + Hub+ | Misdew.com + + + + + + + "; + } + if($css_type == "raw") { + echo ""; + } + ?> + + + + + +
+ "; + require_once("shout.php"); + echo ""; +?> + + + + + + + "; + echo ""; + echo ""; + echo " "; + echo "Wallet "; + echo ""; + echo ""; + $funds_bal = number_format((float)$u_funds, 2, '.', ''); + echo number_format($funds_bal, 2, '.', ','); + //echo " MDF"; + echo " MDF"; + echo ""; + echo ""; + echo ""; + // app tray + $query = mysqli_query($conx, "SELECT app_uqid FROM user_apps WHERE uid='$u_uid' && hidden='no' ORDER BY arrange"); + $per_row = 4; + $app_id = 0; + echo ""; + while ($app = mysqli_fetch_assoc($query)) { + $app_id = $app_id + 1; + if ($app_id % $per_row == 1) { + echo ""; + } + $app_uqid = $app['app_uqid']; + $appy = mysqli_query($conx, "SELECT uqid,title,app_color,app_titlecolor,link,icon FROM apps WHERE uqid='$app_uqid'"); + while($ap = mysqli_fetch_assoc($appy)) { + $app_uqqid = $ap['uqid']; + $app_color = $ap['app_color']; + $app_tcolor = $ap['app_titlecolor']; + if($u_hub_theme == 'droplets') { + $app_tcolor = "#000"; + } + elseif($u_hub_theme == 'stars') { + $app_color = "#252525"; + $app_tcolor = "#fff"; + } + elseif($u_hub_theme == 'galaxy') { + $app_color = "#003e66"; + $app_tcolor = "#fff"; + } + $app_name = $ap['title']; + $app_link = $ap['link']; + $app_icon = $ap['icon']; + } + echo ""; + if ($app_id % $per_row == 0) + echo ""; + } + $spacercells = $per_row - ($app_id % $per_row); + if ($spacercells < $per_row) { + for ($j=1; $j <= $spacercells; $j++) { + //""; + } + echo ""; + } + echo "
+
+ + + + +
 
+ $app_name +
"; + ?> + + + + + + +
+ Change Theme + + App Market +

+ Looks like you have special permissions.
Tap here to visit the staff lounge.
+ "; + echo "
"; + } + echo "
"; + require_once("recently_active.php"); + echo "
"; + echo "
"; + require_once("online_list.php"); + echo "

"; + + ?> + + + Code of Conduct
"; + $codeq = mysqli_query($conx, "SELECT num,weight,content FROM codes ORDER BY num ASC"); + while($coder = mysqli_fetch_assoc($codeq)) { + $code_num = $coder['num']; + $code_weight = $coder['weight']; + $code_content = $coder['content']; + echo "#$code_num: "; + echo "$code_content [$code_weight]
"; + } + echo ""; + echo "Each violation automatically adds up. Jailing occurs after 2 strikes.
"; + echo "By accessing/using Misdew, you are agreeing to our Privacy Policy.
"; + echo "The Code of Conduct and Privacy Policy may be modified at any time."; + echo "
"; + echo ""; + ?> + +
+ + +