{$myUser['username']}您好,
您的svn密码是:{$myUser['svn_password']}
Universal Online Judge
EOD; $mailer = UOJMail::noreply(); $mailer->addAddress($myUser['email'], $myUser['username']); $mailer->Subject = "svn密码"; $mailer->msgHTML($html); if ($mailer->send()) { echo 'good'; } die(); } } $data_dir = "/var/uoj_data/${problem['id']}"; function echoFileNotFound($file_name) { echo '\n"; $output_limit = 1000; if (strStartWith($mimetype, 'text/')) { echo htmlspecialchars(uojFilePreview($file_full_name, $output_limit)); } else { echo htmlspecialchars(strOmit(shell_exec('xxd -g 4 -l 5000 ' . escapeshellarg($file_full_name) . ' | head -c ' . ($output_limit + 4)), $output_limit)); } echo "\n"; } $info_form = new UOJForm('info'); $http_host = HTML::escape(UOJContext::httpHost()); $download_url = HTML::escape(HTML::url("/download.php?type=problem&id={$problem['id']}")); $info_form->appendHTML(<<
$esc_submission_requirement
$esc_extra_config
key | '; echo 'value | '; echo '
---|---|
', htmlspecialchars($key), ' | '; echo '', htmlspecialchars($info['val']), ' | '; echo '
', htmlspecialchars($key), ' | '; echo '', htmlspecialchars($info['val']), ' ', ' | '; echo '