Home เกี่ยวกับ Short Charge Shock การเตรียมตัวชมคอนเสิร์ต ซื้อบัตรคอนเสิร์ต รายชื่อสมาชิก กระดานสนทนา ออกจากระบบสมาชิก เข้าสู่ระบบ/สมัครสมาชิก
   สวัสดี           

Warning: mysql_connect(): Access denied for user 'web8'@'localhost' (using password: NO) in /var/www/clients/client0/web8/web/show.php on line 11

Warning: mysql_select_db(): Access denied for user 'web8'@'localhost' (using password: NO) in /var/www/clients/client0/web8/web/show.php on line 12

Warning: mysql_select_db(): A link to the server could not be established in /var/www/clients/client0/web8/web/show.php on line 12

Warning: mysql_query(): Access denied for user 'web8'@'localhost' (using password: NO) in /var/www/clients/client0/web8/web/show.php on line 13

Warning: mysql_query(): A link to the server could not be established in /var/www/clients/client0/web8/web/show.php on line 13

Warning: mysql_query(): Access denied for user 'web8'@'localhost' (using password: NO) in /var/www/clients/client0/web8/web/show.php on line 16

Warning: mysql_query(): A link to the server could not be established in /var/www/clients/client0/web8/web/show.php on line 16

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/clients/client0/web8/web/show.php on line 17
Short Charge Shock Rock Legend : เหล็ก-พันธุ์-เสือ 17 สิงหาคม 2556 อิมแพคอารีน่า เมืองทองธานี


กระดานสนทนา ShortChargeShock.com



'; //$string=str_replace($links[$j],''.$links[$j].'',$string).'

'; }else{ $string=str_replace($links[$j],''.$links[$j].'',$string); } } } return ($string); } */ //$string="http://www.youtube.com/watch?v=1P6mhwb4OtU"; //$string=$youtubeQ; //echo $youtube; // YOU TUBE //$url = 'http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir'; // we get the unique video id from the url by matching the pattern preg_match("/v=([^&]+)/i", $youtubeQ, $matches); $id = $matches[1]; // this is your template for generating embed codes $code = ' '; // we replace each {id} with the actual ID of the video to get embed code for this particular video $codeQ = str_replace('{id}', $id, $code); // ตรวจสอบรูปแบบการแสดง IP Address switch ($showIP) { case "ALL" : $IP = "(IP=".$row["IP"].")"; break; case "BAN" : $IP = "(IP=".substr($row["IP"],0,strrpos($row["IP"],".")).".*)"; break; case "NONE": $IP = ""; break; default : $IP = $row["IP"]; } if($Member) { $sql = "select * from $smf_member where User='$Name' "; $result = mysql_query($sql); $NRow = mysql_num_rows($result); //if($NRow==0) { echo "Error"; exit(); } $row = mysql_fetch_array($result); // กำหนดค่าตัวแปร เพื่อนำไปแสดง $mid =$row["mid"]; $mid_show = "SMF".sprintf("%06d",$row["mid"]); $Ustatus=$row["Ustatus"]; //echo $Ustatus; if ($Ustatus==0) { $Ustatus="Member"; }else if ($Ustatus==1) { $Ustatus="Administrator"; }else if ($Ustatus==2) { $Ustatus="Moderator"; } $Facebook = $row["Facebook"]; /* if ($Facebook) { $Facebook=$Facebook; } else { $Facebook="-"; } */ $Date2=$row["Date"]; $Email = $row["Email"]; $Slogan= $row["Slogan"]; $Profilepic= $row["Profilepic"]; $Profile_dis=$row["Profile_dis"]; $email_dis=$row["email_dis"]; $tel_dis=$row["tel_dis"]; } //Total post ของคนตั้งหัวข้อกระทู้ $sqlP = "select * from $smf_data where mid = '$mid' "; $resultP= mysql_query($sqlP); $NRowP = mysql_num_rows($resultP); $cate=mysql_fetch_array($resultP); //Total Comment $sqlC = "select * from $smf_ans where mid = '$mid' "; $resultC= mysql_query($sqlC); $NRowC = mysql_num_rows($resultC); $totalpost=$NRowP+$NRowC; //Total post ของคนตั้งหัวข้อกระทู้ // กำหนด Level ของสมาชิก if ($row["Ustatus"]==0) { if ($totalpost <10) { $exp="สาวกหน้าใหม่"; } else if ($totalpost >=10 && $totalpost <50 ) { $exp="สาวกระดับหนึ่ง"; } else if ($totalpost >=50 && $totalpost <100 ) { $exp="สาวกระดับสอง"; } else if ($totalpost >=100 && $totalpost <500) { $exp="สาวกพันธุ์แท้"; } else if ($totalpost >=500 && $totalpost <1000) { $exp="อาจารย์ระดับหนึ่ง"; } else if ($totalpost >=1000 && $totalpost <2000) { $exp="อาจารย์ระดับสอง"; } else { $exp="ปรมาจารย์หิน เหล็ก ไฟ"; } }else{ if ($row["Ustatus"]==1) { $exp="ผู้ดูแลระบบ"; } else { $exp="ผู้ตรวจทาน"; } } // แสดงข้อมูลของคำถาม(กระทู้) echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo "\n"; //echo "\n"; /* if ($NRow12<>0) { echo "\n"; } */ echo "\n"; echo "
\n"; echo "\t$Question[ Edit ]
\n"; echo "
\n"; echo "\t\n"; echo "\t"; echo "\n"; echo "\t
\n"; echo "
"; // ตรวจสอบว่ามีรูปหรือไม่ if($imgpath) { if ($imageType=="1") { //echo $imageType; $image_new = "$imgpath"; //url of picture //echo $image_new; $image_new = str_replace(' ','%20',$image_new); //take url and replace spaces $max_width= $imgzise; //maximum width allowed for pictures $resize_width= $imgzise; //same as max width $size = getimagesize("$image_new"); //get the actual size of the picture $width= $size[0]; // get width of picture //echo $width; $height= $size[1]; // get height of picture if ($width>$max_width){ $new_width=$resize_width; // Resize Image If over max width $zoom_title=0; }else { $new_width=$width; // Keep original size from array because smaller than max $zoom_title=1; } //echo "" //print image with new width if ($zoom_title==0) { echo "\t\t

"; } else { echo "\t\t

"; } //echo "ภาพนี้ถูกย่อคลิกที่ภาพเพื่อดูขนาดจริง

"; //echo $imageType; //echo "\t\t

\n"; }else{ echo "\t\t คลิกดาวน์โหลดไฟล์แนบที่นี่เลย
\n"; echo "\t\t ------------------------------
\n"; echo "

\n"; } //echo "\t\t
\n"; } // Display youtube vdo if ($youtubeQ) { echo "
".$codeQ."

"; } echo "\t\t".auto_link($Note)."\n"; echo "\t
\n"; //echo "
\n"; echo "
\n"; echo "\t\n"; echo "\t\n"; echo "\t\n"; } else if (isset($s_Ustatus) && $mid==$s_ID ) { echo "  "; //echo "--  \n"; } else if (isset($s_Ustatus) && $row['fb_id']==$s_ID ) { echo "  "; //echo "--  \n"; }else { echo "\t\n"; } echo "\t
\n"; echo "\t\t   $Name\n"; //echo "\t\t   $Name\n"; echo "\t\n"; //echo "\t\tโดยคุณ $Name \n"; // } if ($EditNameQ<>"") { echo "แก้ไขล่าสุด $EditDateQ โดย $EditNameQ "; } echo "\t\t$IP\n"; echo "\t\t[$Date]\n"; // If admin display del icon if (isset($s_Ustatus) && $s_Ustatus<>0) { echo " "; echo "-- 
\n"; echo "
\n"; /* if ($Profile_dis==1) { /// Display Profile Info echo "\t\n"; echo "\t"; // Profile Pic echo ""; //Uer Profile Info echo ""; // Slogan, Signature echo "
\n"; if ($Profilepic!="") { echo " "; } else { echo " "; } echo "\n"; echo "หมายเลขสมาชิก   $mid_show  
"; echo "ระดับสมาชิก   $Ustatus  
"; echo "โพสต์ทั้งหมด   $totalpost ครั้ง - ตั้ง $NRowP ตอบ $NRowC   [ แสดง ]
"; echo "ประสบการณ์   $exp  
"; echo "สมัครสมาชิก   $Date2  
"; if ($email_dis==1) { echo "Email   $Email  
"; } if ($Facebook!="") { echo "Facebook   $Facebook  "; } echo "
\n"; if ($Slogan) { echo ""; echo "\n"; echo "
"; //echo "
"; echo "$Slogan"; echo "
"; } echo "
\n"; /// Display Profile Info } */ ?> Error"; exit(); } if ($_GET[page] == 2 ) { $y=$list_page; } else if ( $_GET[page] > 2 ) { $y=$list_page*($page-1); } else { $y=0; } // วนลูปแสดงข้อมูลที่อ่านได้ while ($row = mysql_fetch_array($result)) { #echo $page; $y++; // กำหนดค่าตัวแปร เพื่อนำไปแสดง $QuestionNo = $row["No"]; $Name = $row["Name"]; $Member = $row["Member"]; $mid = $row["mid"]; $Email = $row["Email"]; $Msg = $row["Msg"]; $Date = $row["Date"]; $imgpath2 = $row["imgpath2"]; $imageType2 = $row["imageType2"]; $EditName = $row["EditName"]; $EditDate = $row["EditDate"]; $EditIP = $row["EditIP"]; //echo $imageType2; // ตรวจสอบรูปแบบการแสดง IP Address $youtubeA = $row["youtube"]; // -------------------------**********************************************/////////////////////////////// //User profile $sql3 = "select * from $smf_member where mid='$mid' "; $result3 = mysql_query($sql3); $NRow3 = mysql_num_rows($result3); $row3 = mysql_fetch_array($result3); $mid3 =$row3["mid"]; $mid_show3 = "SMF".sprintf("%06d",$row3["mid"]); $Ustatus3=$row3["Ustatus"]; //echo $mid3; //echo $Ustatus; if ($Ustatus3==0) { $Ustatus3="Member"; }else if ($Ustatus3==1) { $Ustatus3="Administrator"; }else if ($Ustatus3==2) { $Ustatus3="Moderator"; } $Facebook3 = $row3["Facebook"]; /* if ($Facebook3) { $Faceboo3k=$Facebook3; } else { $Facebook3="-"; } */ $Date3=$row3["Date"]; $Email3 = $row3["Email"]; $Slogan3= $row3["Slogan"]; $Profilepic3= $row3["Profilepic"]; $Profile_dis3=$row3["Profile_dis"]; $email_dis3=$row3["email_dis"]; $tel_dis3=$row3["tel_dis"]; //echo $Profile_dis3; //} //Total post ของคนตั้งหัวข้อกระทู้ $sqlP3 = "select * from $smf_data where mid = '$mid' "; $resultP3= mysql_query($sqlP3); $NRowP3 = mysql_num_rows($resultP3); $cate3=mysql_fetch_array($resultP3); //Total Comment $sqlC3 = "select * from $smf_ans where mid = '$mid' "; $resultC3= mysql_query($sqlC3); $NRowC3 = mysql_num_rows($resultC3); $totalpost3=$NRowP3+$NRowC3; //Total post ของคนตั้งหัวข้อกระทู้ // กำหนด Level ของสมาชิก if ($row3["Ustatus"]==0) { if ($totalpost3<10) { $exp3="สาวกหน้าใหม่"; } else if ($totalpost3 >=10 && $totalpost3 <50 ) { $exp3="สาวกระดับหนึ่ง"; } else if ($totalpost3 >=50 && $totalpost3 <100 ) { $exp3="สาวกระดับสอง"; } else if ($totalpost3 >=100 && $totalpost3 <500) { $exp3="สาวกพันธุ์แท้"; } else if ($totalpost3 >=500 && $totalpost3 <1000) { $exp3="อาจารย์ระดับหนึ่ง"; } else if ($totalpost3 >=1000 && $totalpost3 <2000) { $exp3="อาจารย์ระดับสอง"; } else { $exp3="ปรมาจารย์หิน เหล็ก ไฟ"; } }else{ if ($row3["Ustatus"]==1) { $exp3="ผู้ดูแลระบบ"; } else { $exp3="ผู้ตรวจทาน"; } } // -------------------------**********************************************/////////////////////////////// // YOU TUBE //$url = 'http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir'; // we get the unique video id from the url by matching the pattern preg_match("/v=([^&]+)/i", $youtubeA, $matches); $id = $matches[1]; // this is your template for generating embed codes $code = ' '; // we replace each {id} with the actual ID of the video to get embed code for this particular video $codeA = str_replace('{id}', $id, $code); switch ($showIP) { case "ALL" : $IP = "(IP=".$row["IP"].")"; break; case "BAN" : $IP = "(IP=".substr($row["IP"],0,strrpos($row["IP"],".")).".*)"; break; case "NONE": $IP = ""; break; default : $IP = $row["IP"]; } //echo $Name; /* if($Member) { $sql2 = "select * from $smf_member where User='$Name' "; $result2 = mysql_query($sql2); $NRow2 = mysql_num_rows($result2); //if($NRow2==0) { echo "Error"; exit(); } $qrow = mysql_fetch_array($result2); // กำหนดค่าตัวแปร เพื่อนำไปแสดง $Facebook = $qrow["Facebook"]; } */ //echo $Member; echo "
"; echo "\n"; echo "\t
\n"; echo "\t\t\n"; echo "\t\t• ความเห็นที่ $y\n"; echo "
"; echo "\t\n"; //echo "
\n"; echo ""; echo "
\n"; if ($imgpath2 || $youtubeA) { echo "\t\n"; echo "\t"; echo "\t
\n"; // ตรวจสอบว่ามีรูปหรือไม่ if($imgpath2) { //echo $imgpath2; if ($imageType2=="1") { //echo $imageType2; $image_new = "$imgpath2"; //url of picture $image_new = str_replace(' ','%20',$image_new); //take url and replace spaces $max_width= $imgzise; //maximum width allowed for pictures $resize_width= $imgzise; //same as max width //echo "image new = ".$image_new; $size = getimagesize("$image_new"); //get the actual size of the picture $width= $size[0]; // get width of picture //echo $width; $height= $size[1]; // get height of picture if ($width>$max_width){ $new_width=$resize_width; // Resize Image If over max width $zoom_title=0; }else { $new_width=$width; // Keep original size from array because smaller than max $zoom_title=1; } if ($zoom_title==0) { echo "\t\t

"; } else { echo "\t\t

"; } }else{ echo "\t\t คลิกดาวน์โหลดไฟล์แนบที่นี่เลย
\n"; echo "\t\t ------------------------------
\n"; echo "

\n"; } } // Display youtube vdo if ($youtubeA) { echo "
".$codeA."

"; } echo "".auto_link($Msg).""; echo "\t
"; } else { echo "\n"; echo ""; echo "
"; echo "".auto_link($Msg).""; echo "
"; } echo "\t
\n"; // รายละเอียดผู้แสดงความคิืดเห็น ----------------------------------------------------------------------------------------- //echo "\t\n"; echo "\t
\n"; echo "\t"; echo "\t\n"; // If own comment , can delete it } else if ( ($mid==$s_ID) || ($row["fb_id"]==$_SESSION['s_ID']) ) { echo "\n"; } $NN=$Name; echo "\t"; echo "\n"; echo "
\n"; echo "\t\t\n"; echo "\t\t $Name\n"; //echo "\t\t $Name\n"; echo "\n"; if ($EditName<>"") { echo "  แก้ไขล่าสุด $EditDate โดย $EditName"; } echo "\t\t$IP\n"; echo "\t\t[$Date]\n"; //echo "\t\t[$Date] #$QuestionNo\n"; //echo "\t\t[$Date] #$QuestionNo ($i/$NRow)\n"; echo "\t\t\n"; // If admin display del icon if (isset($s_Ustatus) && $s_Ustatus<>0) { echo ""; echo "..  "; echo "..  
\n"; //////} //echo "Profile_dis=".$Profile_dis3; /* if ($Profile_dis3==1) { /// Display Profile Info echo "\t\n"; echo "\t"; // Profile Pic echo ""; //Uer Profile Info echo ""; // Slogan, Signature echo "
\n"; if ($Profilepic3!="") { echo " "; } else { echo " "; } echo "\n"; echo "หมายเลขสมาชิก   $mid_show3  
"; echo "ระดับสมาชิก   $Ustatus3  
"; echo "โพสต์ทั้งหมด   $totalpost3 ครั้ง - ตั้ง $NRowP3 ตอบ $NRowC3   [ แสดง ]
"; //echo "โพสต์ทั้งหมด   $totalpost3 ครั้ง [ตั้ง $NRowP3 ตอบ $NRowC3] 
"; echo "ประสบการณ์   $exp3  
"; echo "สมัครสมาชิก   $Date3  
"; if ($email_dis3==1) { echo "Email   $Email3  
"; } if ($Facebook3!="") { echo "Facebook   $Facebook3  "; } echo "
\n"; if ($Slogan3) { echo ""; echo "
"; //echo "
"; echo "$Slogan3"; echo "
"; } echo "
\n"; // รายละเอียดผู้แสดงความคิืดเห็น ----------------------------------------------------------------------------------------- } */ } echo "
"; //echo "


\n\n"; if($order=="ASC") $i++; else $i--; // Paging code ---------------------------------------------------------------------- // table แสดงเลขหน้า //echo $row3['fb_name']; if ( $totalpage > 1) { echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "\t\n"; // สร้าง link เพื่อไปหน้าก่อน-หน้าถัดไป if($page>1 && $page<=$totalpage) { $prevpage = $page-1; echo "\t[หน้าก่อน = $prevpage]\n"; } echo "\t กำลังแสดงหน้าที่ $page/$totalpage \n"; if($page!=$totalpage) { $nextpage = $page+1; echo "\t[หน้าถัดไป = $nextpage]\n"; } echo "\t\n"; echo "
\n"; echo "\t\n"; // วนลูปแสดงเลขหน้าทั้งหมด for($i=1 ; $i<$page ; $i++) { echo "\t$i \n"; } echo "\t$page \n"; for($i=$page+1 ; $i<=$totalpage ; $i++) { echo "\t$i \n"; } echo "\t\n"; echo "
\n"; } // Paging code ---------------------------------------------------------------------- ?>
ร่วมแสดงความคิดเห็น
".$picover."

"; } if (isset($Msg_msg)) { echo "
".$Msg_msg."

"; } else { session_unregister("Msg_msg"); } ?>
ข้อความ returnOutput = true; // Path to the CKEditor directory, ideally use an absolute path instead of a relative dir. // $CKEditor->basePath = '/ckeditor/' // If not set, CKEditor will try to detect the correct path. $CKEditor->basePath = 'script/'; // Set global configuration (will be used by all instances of CKEditor). $CKEditor->config['width'] = 850; // Change default textarea attributes. $CKEditor->textareaAttributes = array("cols" => 80, "rows" => 10); // The initial value to be displayed in the editor. $initialValue = ''; // Create the first instance. //$code = $CKEditor->editor("QNote", $initialValue); //echo $code; // Configuration that will only be used by the second editor. $config['toolbar'] = array( array( 'Source', '-', 'Font', 'FontSize','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','Bold', 'Italic', 'Underline', 'Strike','TextColor','BGColor', 'NumberedList','BulletedList','-','Blockquote'), //array('-','MindTouchDeki_InsertImage','MindTouchDeki_AttachImage','MindTouchDeki_InsertVideo','MindTouchDeki_InsertTemplate'), array( 'Smiley','SpecialChar' ,'Table','RemoveFormat') //array( 'Image', 'Link', 'Unlink', 'Anchor', 'Smiley','SpecialChar') ); $config['language'] = 'th'; $config['skin'] = 'v2'; // Create the second instance. echo $CKEditor->editor("Msg", $initialValue, $config); ?>
ภาพ/ไฟล์

Youtube


!! ร่วมแสดงความคิดเห็น คลิก Login ได้ที่นี่ !!

"; } ?> [ คลิกกลับหน้ากระทู้รวม ]