Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
admin
/
htdocs
/
rockmongo
/
themes
/
default
/
views
/
login
/
/srv/admin/htdocs/rockmongo/themes/default/views/login/index.php
<script type="text/javascript"> var showMore = <?php echo $moreOptions; ?>; $(function () { showMore = !showMore; r_show_more_options($("#more_options_btn")[0]); //go to top window if (window.self != window.top) { if (window.parent.location.toString().match(/\?action=admin/)) { window.parent.location.reload(); } } }); function r_show_more_options(btn) { if (!showMore) { $("#more_options").show(); $(btn).html("Less »"); showMore = 1; $("#show_more_options").val(1); } else { $("#more_options").hide(); $(btn).html("More »"); showMore = 0; $("#show_more_options").val(0); } return false; } </script> <div style="padding:10px;margin:200px auto;width:300px;border:1px #ccc solid"> <?php if (isset($message)):?><p class="error"><?php h($message); ?></p><?php endif;?> <form method="post"> <input type="hidden" name="more" id="show_more_options" value="<?php echo $moreOptions; ?>"/> <table> <tr> <td colspan="2" style="background:#eee"><strong>Log-in:</strong></td> </tr> <tr> <td width="100">Host</td> <td><?php render_select_hosts("host", $hostIndex); ?></td> </tr> <tr> <td nowrap><?php hm("username"); ?>:</td> <td><input type="text" name="username" value="<?php echo $username;?>" style="width:150px"/></td> </tr> <tr> <td><?php hm("password"); ?>:</td> <td><input type="password" name="password" style="width:150px"/></td> </tr> <tr> <td colspan="2" style="background:#eee"><strong>Non-Admin users:</strong></td> </tr> <tr> <td valign="top">DB Name(s):</td> <td><input type="text" name="db" style="width:150px" value="<?php h($db); ?>"/><br/></td> </tr> <tr> <td colspan="2"><a href="#" onclick="return r_show_more_options(this)" id="more_options_btn">More »</a></td> </tr> <tbody style="display:none" id="more_options"> <tr> <td><?php hm("language"); ?>:</td> <td><select name="lang" style="width:150px"> <?php foreach ($languages as $code => $lang):?> <option value="<?php h($code);?>" <?php if(x("lang") == $code || (x("lang") ==""&&__LANG__==$code)): ?>selected="selected"<?php endif;?> ><?php h($lang); ?></option> <?php endforeach;?> </select></td> </tr> <tr> <td><?php hm("alive"); ?>:</td> <td> <select name="expire" style="width:150px"> <?php foreach ($expires as $long => $name):?> <option value="<?php h($long);?>"><?php h($name);?></option> <?php endforeach;?> </select> </td> </tr> </tbody> <tr> <td colspan="2" align="center"><input type="submit" value="<?php hm("loginandrock"); ?>"/></td> </tr> </table> </form> <?php hm("rockmongocredits") ?> </div>