// survey if (time() < $survey_deadline) { echo '<center><a href="' . $survey_url . '" rel="nofollow noreferrer" target="_blank" style="text-decoration:none;font-size:11pt" onmouseover="this.style.color=\'white\';" onmouseout="this.style.color=\'#DFDFDF\';">Please help us take <font color="#FC4">RIPS</font> to the next level<br>by answering 6 short questions!</a></center><hr />'; } // output info gathering if (!empty($info) || $count_inc > 0 && $round_inc_success < 75 && !$scan_subdirs && count($files) > 1) { $info = array_unique($info); echo '<table class="textcolor" width="100%">'; foreach ($info as $detail) { echo '<tr><td width="160">Info:</td><td><small>', $detail, '</small></td></tr>'; } if ($count_inc > 0 && $round_inc_success < 75 && !$scan_subdirs && count($files) > 1) { echo '<tr><td width="160">Info:</td><td><small><font color="orange">Your include success is low. Enable <i>subdirs</i> for better filename guesses.</font></small></td></tr>'; } echo '</table><hr />'; } } ?> <table class="textcolor" width="100%"> <tr><td nowrap width="160">Scan time:</td><td nowrap><span id="scantime"><?php printf("%.03f seconds", $elapsed); ?> </span></td></tr> </table> </div> <?php // scan result @printoutput($output, $_POST['treestyle']);
function printerror() { $error = errormessage(); printoutput($error); die; }