mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-10 13:48:42 +00:00
10 lines
239 B
PHP
10 lines
239 B
PHP
<?php
|
|
|
|
$paste_id = $_GET['rand_str_id'];
|
|
|
|
$paste = DB::selectFirst("select * from pastes where `index` = '".DB::escape($paste_id)."'");
|
|
|
|
$REQUIRE_LIB['shjs'] = "";
|
|
echoUOJPageHeader("Paste!");
|
|
echoPasteContent($paste);
|
|
echoUOJPageFooter(); |