답변 7개
추가 피해자 방지 https://sir.kr/conflictconsultation/245" rel="nofollow noreferrer noopener" target="_blank">https://sir.kr/conflictconsultation/245
댓글을 작성하려면 로그인이 필요합니다.
$admin_href 값이 있고, $_GET['w']가 w, u 일때 진입하는 조건 내에서 w가 아닐 때 출력이니 그 부분부터 보세요.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 2개
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
뷰 페이지 소스 입니다.
', 0);
if ($admin_href) { if($config[cf_10]=="g5_drama_list"){}else{
// Name of the file $filename = "$board_skin_url/g5_drama_list.sql";
// Connect to MySQL server //mysql_connect($mysql_host, $mysql_username, $mysql_password) or die('Error connecting to MySQL server: ' . mysql_error()); // Select database //mysql_select_db($mysql_database) or die('Error selecting MySQL database: ' . mysql_error());
// Temporary variable, used to store current query $templine = ''; // Read in entire file $lines = file($filename); // Loop through each line foreach ($lines as $line) { // Skip it if it's a comment if (substr($line, 0, 2) == '--' || $line == '') continue;
// Add this line to the current segment $templine .= $line; // If it has a semicolon at the end, it's the end of the query if (substr(trim($line), -1, 1) == ';') { // Perform the query sql_query($templine) or print('Error performing query \'' . $templine . '\': ' . sql_error() . ' '); // Reset temp variable to empty $templine = ''; } } $sql = " update g5_config set cf_10_subj = '영상기능', cf_10 = 'g5_drama_list'"; $sql_query=sql_query($sql); echo ""; }
///////////등록///////// $bo_table =$_POST[bo_table]; $wr_id =$_POST[wr_id]; $wr_subject =$_POST[wr_subject]; $id =$_POST[id]; $wr_link1 =$_POST[wr_link1]; $wr_link2 =$_POST[wr_link2]; $wr_link3 =$_POST[wr_link3]; $wr_datetime =date('Y-m-j h:i:s');
if($_POST[type]=="new"){
$sql = " insert into g5_drama_list set bo_table = '$bo_table', wr_id = '$wr_id', wr_subject = '$wr_subject', wr_link1 = '$wr_link1', wr_link2 = '$wr_link2', wr_datetime = '$wr_datetime'"; $sql_query=sql_query($sql); echo "";
///////////위치등록끝/////////
}else if($_POST[type]=="update"){ ///////////위치수정///////// $sql = " update g5_drama_list set bo_table = '$bo_table', wr_id = '$wr_id', wr_subject = '$wr_subject', wr_link1 = '$wr_link1', wr_link2 = '$wr_link2' where id = '$id' "; $sql_query=sql_query($sql); echo "";
} } ?>
if ($admin_href) { ?> if($_GET[w]==""){?> } ?> if($_GET[w]=="w" || $_GET[w]=="u"){?> } ?> } ?>
|
if($list[wr_link2]){?>
}else{ ?>
|
|
|
|
댓글을 작성하려면 로그인이 필요합니다.
푸른하늘 직접 물어 보던가
아니면 그 스킨 소스 를 어디서 받는 지 알려주시고
그소스를 그누보드 에 어떠게 설치를 했는 지 과정과
현제 문제가 있는 페이지의 도메인 주소를 알려주던가
문제 발생한 위치를 알아야 대답이 가능 할꺼라 생각 됩니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인