mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 17:31:51 +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(); |