foreach( $_GET as $Key => $Value ) { $_POST[$Key] = $_GET[$Key]; } foreach( $_POST as $Key => $Value ) { $_POST[$Key] = str_replace("\\\\", "\\", $Value ); $_POST[$Key] = str_replace("\\'", "'", $_POST[$Key] ); $_POST[$Key] = str_replace("\\\"", "\"", $_POST[$Key] ); } if ( $_POST['charset'] == '' ) { $_POST['charset'] = 'utf-8'; } if ( $_POST['w'] == '' ) { $_POST['w'] = '600'; } header( "Content-Type: text/html; Charset={$_POST['charset']}" ); header( "pragma: no-cache" ); header( "Expires: Wed, 31 May 2000 14:59:58 GMT" ); header( "Cache-control: no-cache" ); mb_language( "ja" ); mb_internal_encoding("EUC-JP"); if ( $_POST['url'] == '' ) { $_POST['url'] = 'http://lightbox.on.coocan.jp/sh/blank.htm'; } if ( $_POST['brush'] == '' ) { $_POST['brush'] = 'text'; } $ff = '‚l‚r ‚oƒSƒVƒbƒN'; $Text = file_get_contents( $_POST['url'] ); if ( $_POST['charset'] == 'utf-8' ) { $ff = mb_convert_encoding( $ff, "utf-8", "shift_jis" ); $Text = htmlentities( $Text, ENT_NOQUOTES, "utf-8" ); } if ( $_POST['charset'] == 'euc-jp' ) { $ff = mb_convert_encoding( $ff, "euc-jp", "shift_jis" ); $Text = htmlentities( $Text, ENT_NOQUOTES, "euc-jp" ); } if ( $_POST['charset'] == 'shift_jis' ) { $Text = mb_convert_encoding( $Text, "euc-jp", "shift_jis" ); $Text = htmlentities( $Text, ENT_NOQUOTES, "euc-jp" ); $Text = mb_convert_encoding( $Text, "shift_jis", "euc-jp" ); } ?>
if ( $_POST['brush'] == 'text' ) { ?> } ?> if ( $_POST['brush'] == 'js' ) { ?> } ?> if ( $_POST['brush'] == 'xml' ) { ?> } ?> if ( $_POST['brush'] == 'css' ) { ?> } ?> if ( $_POST['brush'] == 'php' ) { ?> } ?> if ( $_POST['brush'] == 'vb' ) { ?> } ?> if ( $_POST['brush'] == 'sql' ) { ?> } ?> if ( $_POST['brush'] == 'java' ) { ?> } ?> if ( $_POST['brush'] == 'c#' ) { ?> } ?> if ( $_POST['brush'] == 'perl' ) { ?> } ?> if ( $_POST['brush'] == 'python' ) { ?> } ?> if ( $_POST['brush'] == 'ruby' ) { ?> } ?> if ( $_POST['brush'] == 'scala' ) { ?> } ?> if ( $_POST['brush'] == 'delphi' ) { ?> } ?> if ( $_POST['brush'] == 'bash' ) { ?> } ?> if ( $_POST['brush'] == 'diff' ) { ?> } ?> if ( $_POST['brush'] == 'groovy' ) { ?> } ?> if ( $_POST['brush'] == 'cpp' ) { ?> } ?>