mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-14 05:38:41 +00:00
12 lines
273 B
PHP
12 lines
273 B
PHP
<?php
|
|
|
|
$paste_id = $_GET['rand_str_id'];
|
|
|
|
$paste = DB::selectFirst("select * from pastes where `index` = '".DB::escape($paste_id)."'");
|
|
if (!$paste) {
|
|
become404Page();
|
|
}
|
|
$REQUIRE_LIB['shjs'] = "";
|
|
echoUOJPageHeader("Paste!");
|
|
echoPasteContent($paste);
|
|
echoUOJPageFooter(); |