• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP html_img函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: add_mainMenu

 function add_mainMenu()
 {
     $div = html_div('');
     $div->add(html_br());
     $table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
     $row = html_tr();
     $blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
     //$blank->set_tag_attribute('colspan','4');
     $image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
     $image->set_tag_attribute('align', 'right');
     $image->set_tag_attribute('width', '40%');
     $link = html_a(Util::format_URLPath("bibliography/index.php"), agt('Catálogo'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item1 = html_td('', '', $link);
     $item1->set_tag_attribute('width', '20%');
     $link = html_a(Util::format_URLPath("bibliography/index.php", 'status=ref'), agt('Referencias bibliográficas'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item2 = html_td('', '', $link);
     $item2->set_tag_attribute('width', '20%');
     $link = html_a(Util::format_URLPath("bibliography/index.php", 'status=link'), agt('Enlaces de interés'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item3 = html_td('', '', $link);
     $item3->set_tag_attribute('width', '20%');
     $row->add($blank);
     $row->add($image);
     $row->add($item1);
     $row->add($item2);
     $row->add($item3);
     $table->add_row($row);
     $div->add($table);
     return $div;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:32,代码来源:miguel_vnewuserprofile.class.php


示例2: add_mainMenu

 function add_mainMenu()
 {
     $div = html_div('');
     $div->add(html_br());
     $table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
     $row = html_tr();
     $blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
     //$blank->set_tag_attribute('colspan','4');
     $image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
     $image->set_tag_attribute('align', 'right');
     $image->set_tag_attribute('width', '40%');
     $link = html_a(Util::format_URLPath("profileManager/index.php", 'submit=new'), agt('Nuevo perfil'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item1 = html_td('', '', $link);
     $item1->set_tag_attribute('width', '20%');
     /*$link = html_a(Util::format_URLPath("profileManager/index.php",'submit=del'), agt('Baja perfil'), null, "_top");
                $link->set_tag_attribute('class', '');
                $item2 = html_td('', '', $link);
                $item2->set_tag_attribute('width', '20%');
     		*/
     $row->add($blank);
     $row->add($image);
     $row->add($item1);
     //$row->add($item2);
     $table->add_row($row);
     $div->add($table);
     return $div;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:28,代码来源:miguel_vprofile.class.php


示例3: add_mainMenu

 function add_mainMenu()
 {
     $div = html_div('');
     $div->add(html_br());
     $table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
     $row = html_tr();
     $blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
     //$blank->set_tag_attribute('colspan','4');
     $image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
     $image->set_tag_attribute('align', 'right');
     $image->set_tag_attribute('width', '40%');
     $link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=new'), agt('Registrar entidad'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item1 = html_td('', '', $link);
     $item1->set_tag_attribute('width', '20%');
     $link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=ficha entidad'), agt('Ficha entidad'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item2 = html_td('', '', $link);
     $item2->set_tag_attribute('width', '20%');
     $link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=del&entity=' . $this->getViewVariable('id')), agt('Baja entidad'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item3 = html_td('', '', $link);
     $item3->set_tag_attribute('width', '20%');
     $row->add($blank);
     $row->add($image);
     $row->add($item1);
     $row->add($item2);
     $row->add($item3);
     $table->add_row($row);
     $div->add($table);
     return $div;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:32,代码来源:miguel_ventitymanager.class.php


示例4: main

function main()
{
    global $SIDU;
    $conn = $SIDU['conn'][$SIDU[0]];
    $eng = $conn[1];
    echo "<div class='web'>\n\t<div class='box right hand' style='margin-left:10px' onclick=\"top.location='conn.php?cmd=quit'\">", @html_img("img/tool-exit", "", "class='vm'"), " ", @lang(2101), "</div>\n\t<div class='box right hand' style='margin-left:10px'>", @html_img("img/tool-add", "", "class='vm'"), " <a href='conn.php' target='_blank' style='text-decoration:none'>", @lang(2102), "</a></div>\n\t<div class='box left'>", @html_img("img/tool-pc", "", "class='vm'"), " <b>", @lang(2103), ":</b></div>\n\t<p class='clear' style='margin-left:40px'>";
    foreach ($SIDU['conn'] as $conn) {
        echo "<br/><a href=", $SIDU[0] == $conn[0] ? "'#' onclick=\"top.location='conn.php?cmd=close&#38;id={$conn['0']}'\"" : "'home.php?id={$SIDU['0']}&#38;close={$conn['0']}'", ">", @html_img("img/tool-x", @lang(2104), "class='vm'"), "</a> ", @html_img("img/eng-{$conn['1']}", "", "class='vm'"), " <a href='./?id={$conn['0']}'", $SIDU[0] == $conn[0] ? " class='red b'" : "", " target='_blank' title='", @lang(2105), "'>", $conn[1] == "sl" ? "SQLite" : "{$conn['3']} @ {$conn['2']}", "</a>";
        if ($conn[1] == 'pg' && !$conn[5]) {
            $conn[5] = "<i class='grey'>(5432)</i>";
        } elseif ($conn[1] == 'my' && !$conn[5]) {
            $conn[5] = "<i class='grey'>(3306)</i>";
        } elseif ($conn[1] != "sl") {
            $conn[5] = "({$conn['5']})";
        }
        echo " {$conn['5']}";
        if ($conn[6]) {
            echo " {DB=<i class='green'>{$conn['6']}</i>}";
        }
        if ($conn[8]) {
            echo " {", @lang(2106), "=<i class='blue'>{$conn['8']}</i>}";
        }
    }
    $ip = @SIDU_IP();
    echo "<br/><br/>", @html_img("img/tool-security"), " ", $ip ? "<b class='green'>" . @lang(2107) . ": {$ip}</b>" : "<b class='red'>" . @lang(2108) . "</b>", "\n\t<br/>", @html_img("img/tool-info"), " ", @lang(2109, @array($_SERVER['REMOTE_ADDR'], "inc.page.php")), "</p>\n\t<p class='box hand' onclick=\"showHide('sidumenu')\" title='", @lang(2110), "'>", @html_img("img/sidu", "", "class='vm'"), " <b>", @lang(2111), "</b></p>\n\t<p id='sidumenu' style='display:none' class='ml30'>Additional menus not listed on tool bars";
    if ($eng == 'my') {
        $mysql = @array("SHOW STATUS", "SHOW GRANTS", "SHOW PROCESSLIST", "FLUSH ALL", "FLUSH LOGS", "FLUSH HOSTS", "FLUSH PRIVILEGES", "FLUSH TABLES", "FLUSH STATUS", "FLUSH DES_KEY_FILE", "FLUSH QUERY CACHE", "FLUSH USER_RESOURCES", "FLUSH TABLES WITH READ LOCK");
        foreach ($mysql as $v) {
            echo "<br/><a href='sql.php?id={$SIDU['0']}&sql={$v}'>{$v}</a>";
        }
    } else {
        echo "<br/>Table relationship map--in next release";
    }
    echo "</p>\n\t<p class='box hand' onclick=\"showHide('HK')\" title='", @lang(2110), "'>", @html_img("img/tr.gif", "", "class='vm'"), " <b>", @lang(2112), " (Fn):</b> ", @html_img("img/tool-web", "Firfox", "class='vm'"), " Alt+Shift+", @lang(2113), " ", @html_img("img/tool-web-ie", "IE", "class='vm'"), " Alt+", @lang(2114), " ", @html_img("img/tool-web-o", "Opera", "class='vm'"), " Shift+Esc\n\t\t» http://en.wikipedia.org/wiki/Access_key</p>\n\t<pre id='HK' class='ml30' style='display:none'>", @lang(2115), "\n\n</pre>\n\t<div class='box' style='margin-bottom:15px'>\n\t<span class='hand' onclick=\"showHide('thankyou')\" title='", @lang(2110), "'>", @html_img("img/tr.gif", "", "class='vm'"), " <b>", @lang(2116), "</b></span>\n\t<p class='ml30' id='thankyou' style='display:none;margin-bottom:0'>www.cross-browser.com/x/examples/drag3.php for grid drag resize\n\t</p>\n\t</div>\n\t<p class='box'><b>SQL SIDU : May You be Happy and at Ease</b><br/>土星善度:国土遍七宝,欢喜日日生;善护身口意,平等度一心。</p>\n\t", @lang(2117), " <i class='green'>http://sidu.sf.net</i><br/>", @lang(2118), ": <i class='green'>[email protected]</i> ? subject=<i class='green'>sidu</i>\n\t</div>";
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:35,代码来源:home.php


示例5: navi

function navi()
{
    global $SIDU;
    echo "<a href='#' title='", @lang(1701), "' onclick=\"setv('cmd','del0');dataTab.submit()\">", @html_img('img/menu-open'), "</a>", "<a href='#' title='", @lang(1702), "' onclick=\"setv('cmd','del');dataTab.submit()\">", @html_img('img/tool-del'), "</a>", "<a href='#' title='", @lang(1703), "' onclick=\"setv('cmd','del1');dataTab.submit()\">", @html_img('img/menu-close'), "</a>", "<a href='#' title='", @lang(1704), "' onclick=\"setv('cmd','delall');dataTab.submit()\">", @html_img('img/tool-flush'), "</a>";
    @navi_obj($SIDU['cook'][$SIDU[0]]);
    echo " {$SIDU['sep']} " . @date('Y-m-d H:i:s');
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:7,代码来源:his.php


示例6: navi

function navi()
{
    global $SIDU;
    $conn = $SIDU['conn'][$SIDU[0]];
    $link = @explode(',', $_GET['id']);
    @init_tab($SIDU, $link, $conn);
    $tabs = @table2tabs($link[4], $SIDU['page']['tree']);
    $url = "tab.php?id={$link['0']},{$link['1']},{$link['2']},{$link['3']},{$link['4']}";
    echo "<a href='exp.php?id={$SIDU['0']},{$SIDU['1']},{$SIDU['2']},{$SIDU['3']}&#38;tab={$SIDU['4']}' ", @html_hkey("E", @lang(3701)), " onclick='xwin(this.href);return false'>", @html_img('img/tool-down'), $SIDU['page']['menuText'] ? @lang(3702) : "", "</a>";
    if ($link[3] == 'r') {
        echo " <a href='imp.php?id={$SIDU['0']},{$SIDU['1']},{$SIDU['2']},{$SIDU['3']},{$SIDU['4']}' ", @html_hkey("I", @lang(3703)), " onclick='xwin(this.href);return false'>", @html_img('img/tool-imp'), $SIDU['page']['menuText'] ? @lang(3704) : "", "</a>\n\t\t<a href='#' title='", @lang(3738), "' onclick=\"showHide('objTool')\">", @html_img('img/tool-sys'), $SIDU['page']['menuText'] ? @lang(3705) : "", "</a>\n\t\t<a href='{$url}&#38;objcmd=Empty' ", @html_hkey("-", @lang(3706)), " onclick=\"return confirm('", @lang(3707, $SIDU[4]), "?')\">", @html_img('img/tool-flush'), $SIDU['page']['menuText'] ? @lang(3708) : "", "</a>";
    }
    if ($_GET['desc']) {
        echo " <a href='{$url}&#38;objcmd=Drop' ", @html_hkey("X", @lang(3711)), " onclick=\"return confirm('" . @lang(3710, $SIDU[4]) . "?')\">", @html_img('img/tool-x'), $SIDU['page']['menuText'] ? @lang(3711) : "", "</a>";
    } else {
        echo "{$SIDU['sep']}", @html_img("img/tool-eye.gif", @lang(3712), "onclick=\"showHide('trgrid');showHide('trhide');setv('gridShow',getv('gridShow')==1 ? 0 : 1)\""), "<a href='#' ", @html_hkey("Z", @lang(3713)), " onclick=\"submitForm('gridMode'," . ($SIDU['gridMode'] ? 0 : 1) . ")\">", @html_img("img/tool-grid.gif"), "</a>", "<a href='#' ", @html_hkey("S", @lang(3714)), " onclick=\"submitForm('cmd','data_save')\">", @html_img("img/tool-save"), "</a>", "<a href='#' ", @html_hkey("X", @lang(3715)), " onclick=\"submitForm('cmd','data_del')\">", @html_img("img/tool-del"), "</a>", "<a href='#' ", @html_hkey("=", @lang(3716)), " onclick='addRow()'>", @html_img("img/tool-add"), "</a>\n\t\t<input type='text' id='sidu8' value='{$SIDU['8']}' style='width:50px'/>\n\t\t<input type='text' id='sidu9' value='{$SIDU['9']}' style='width:50px' title='", @lang(3717), "'/><a href='#' ", @html_hkey("G", @lang(3718)), " onclick=\"submitForm('cmd','Go')\">", @html_img('img/tool-run'), "</a>";
        if ($SIDU[9] == -1 || !$SIDU[8]) {
            echo @html_img("img/arr1f.gif", @lang(3719) . " Fn+[", "class='grey'"), @html_img("img/arr2b.gif", @lang(3720) . " Fn+<", "class='grey'");
        } else {
            echo "<a href='#' ", @html_hkey("[", @lang(3719)), " onclick=\"submitForm('cmd','p1')\">", @html_img("img/arr1f.gif"), "</a><a href='#' ", @html_hkey("<", @lang(3720)), " onclick=\"submitForm('cmd','pback')\">", @html_img("img/arr2b.gif"), "</a>";
        }
        echo "<span title='", @lang(3721, $SIDU[10]), "'>{$SIDU['10']}</span>";
        if ($SIDU[9] == -1 || $SIDU[8] + $SIDU[9] >= $SIDU[10]) {
            echo @html_img("img/arr2n.gif", @lang(3722) . " Fn+>", "class='grey'"), @html_img("img/arr1l.gif", @lang(3723) . " Fn+]", "class='grey'");
        } else {
            echo "<a href='#' ", @html_hkey(">", @lang(3722)), " onclick=\"submitForm('cmd','pnext')\">", @html_img("img/arr2n.gif"), "</a><a href='#' ", @html_hkey("]", @lang(3723)), " onclick=\"submitForm('cmd','plast')\">", @html_img("img/arr1l.gif"), "</a>";
        }
    }
    @navi_obj($SIDU);
    if ($_GET['desc']) {
        echo " ({$SIDU['10']})";
    }
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:33,代码来源:tab.php


示例7: navi

function navi()
{
    global $SIDU;
    $sql = @urlencode($SIDU['RES'][$SIDU[6]][0]);
    echo "<a href='exp.php?id={$SIDU['0']}&#38;sql={$sql}' ", @html_hkey("E", @lang(3101)), " onclick='xwin(this.href);return false'>", @html_img('img/tool-down'), "</a>", "<a href='sql.php?id={$SIDU['0']}&#38;chart=sql&#38;sql={$sql}' title='", @lang(3107), "'>", @html_img("img/tool-chart"), "</a>", "<a href='sql.php?id={$SIDU['0']}&#38;chart=sqlV2&#38;sql={$sql}' ", @html_hkey("D", @lang(3108)), ">", @html_img("img/tool-chartV2"), "</a>", "<a href='sql.php?id={$SIDU['0']}&#38;chart=sqlV&#38;sql={$sql}' ", @html_hkey("C", @lang(3102)), ">", @html_img("img/tool-chartV"), "</a>{$SIDU['sep']} {$SIDU['7']}sql &nbsp;", $SIDU[8] ? "<b class='red'>{$SIDU['8']}</b>" : $SIDU[8] + 0, "err &nbsp;", ($SIDU[5] > 1000 ? @round($SIDU[5] / 1000, 1) : "{$SIDU['5']}m") . "s ";
    if (isset($SIDU[6])) {
        echo "&nbsp;" . $SIDU['RES'][$SIDU[6]][3] . "r ";
    }
    @navi_obj($SIDU['cook'][$SIDU[0]]);
    echo " {$SIDU['sep']} " . @date('Y-m-d H:i:s');
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:11,代码来源:sql.php


示例8: main

function main()
{
    global $SIDU;
    if (@substr($_FILES['fsql']['type'], 0, 4) == 'text' && $_FILES['fsql']['size'] && !$_FILES['fsql']['error']) {
        $file = @html8(@file_get_contents($_FILES['fsql']['tmp_name']));
    } elseif ($SIDU['eng'] == 'sl') {
        $file = "SELECT * FROM sqlite_master\nLIMIT 10;";
    } else {
        $file = "SELECT now();";
    }
    echo "<textarea id='sqltxt' style='width:100%;border:0;padding:0;margin:0' spellcheck='false' cols='30' rows='2'>{$file}</textarea>\n\t<form name='sqlrun' action='sql.php?id={$_GET['id']}' target='main' method='post'>" . @html_form("hidden", "sqlcur") . @html_form("hidden", "sqlmore") . "</form>\n<script type='text/javascript'>\nwindow.onresize=gridInit;window.onload=gridInit;\nfunction gridInit(){\n\tif (self.innerHeight) h=self.innerHeight;\n\telse if (document.documentElement && document.documentElement.clientHeight) h=document.documentElement.clientHeight;//ie6\n\telse if (document.body) h=document.body.clientHeight;//other ie\n\tdocument.getElementById('sqltxt').style.height=h-35+'px';\n}\nfunction getSelectedText(box){\n\tif (box.setSelectionRange) return box.value.substring(box.selectionStart,box.selectionEnd);// Mozilla and compatible\n\telse if (document.selection) return document.selection.createRange().text;// IE and compatible\n\telse return;// Other broswers can't do it\n}\nfunction sidu_sql(mode,id){\n\tvar sql;\n\tif (mode=='r' || mode=='m') sql=getSelectedText(document.getElementById('sqltxt'));\n\tif (!sql || mode=='a') sql=getv('sqltxt');\n\tif (sql){\n\t\tdocument.sqlrun.sqlcur.value=sql;\n\t\tif (mode=='m') document.sqlrun.sqlmore.value=1;\n\t\tdocument.sqlrun.submit();\n\t\tdocument.sqlrun.sqlmore.value=0;\n\t\tdocument.getElementById('sqltxt').focus();\n\t}\n}\n</script>\n<div id='openfile' class='blobDiv' style='display:none;top:32px'><div class='web box'>", @html_img("img/tool-close.gif", @lang(3435) . " - Fn+L", "class='right' onclick=\"showHide('openfile')\""), "\n<form action='sqls.php?id={$SIDU['0']}' method='post' enctype='multipart/form-data'>\n<p><b>", @lang(3432), ":</b></p>\n<input type='file' name='fsql'/> <input type='button' name='cmd' value='", @lang(3433), "' onclick=\"showHide('openfile')\"/> <input type='submit' name='cmd' value='", @lang(3434), "'/>\n</form></div></div>";
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:12,代码来源:sqls.php


示例9: search

function search($name)
{
    //Search engine
    if (file_exists("pc/" . $name)) {
        html_div(100, 0, "#ffffff", 30);
        echo "Here is your Pokemon";
        html_div_end();
        html_img("http://" . $_SERVER['HTTP_HOST'] . "/pc/" . $name);
    } else {
        html_div(100, 0, "#ffffff", 30);
        echo "Pokemon Not Found.";
        html_div_end();
    }
}
开发者ID:sidney0830,项目名称:NS_finalProject,代码行数:14,代码来源:upload.php


示例10: get_element

 function get_element()
 {
     $container = html_table('100%', 0, 0, 0);
     $row = html_tr();
     $count = count($this->_data_list);
     for ($x = 0; $x <= $count - 1; $x++) {
         list($name, $value) = each($this->_data_list[$x]);
         $elem = container();
         $elem->add($this->_get_index_element($x), html_br(), html_img($this->_img_list[$x]));
         $col = html_td('', '', $elem);
         $col->set_tag_attribute('align', 'center');
         $row->add($col);
     }
     $container->add_row($row);
     return $container;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:16,代码来源:base_FEImgRadioGroup.class.php


示例11: main

function main()
{
    global $SIDU;
    $opt = $SIDU['page'];
    $opt['pgSize'] = @ceil($opt['pgSize']);
    if ($opt['pgSize'] < -1 || !$opt['pgSize']) {
        $opt['pgSize'] = 15;
    }
    //	$arr_lang = @array("cn"=>"中文","de"=>"Deutsch","en"=>"English","es"=>"Espanol","fr"=>"Francais","it"=>"Italiano");
    $arr_lang = @array("cn" => "中文", "en" => "English");
    echo "<div class='web'><h1 class='dot'>", @html_img("img/tool-option"), " ", @lang(2700), "</h1>";
    if ($err) {
        echo "<p class='err'>{$err}</p>";
    }
    echo "<form name='myform' action='option.php?id={$SIDU['0']}' method='post'><table>\n\t<tr class='bg'><td>", @lang(2701), ":</td><td>", @html_form("select", "opt[lang]", $opt['lang'], 0, "", "", $arr_lang), "</td></tr>\n\t<tr class='bg'><td>", @lang(2702), ":</td><td>", @html_form("text", "opt[pgSize]", $opt['pgSize'], 40, 3), " ", @lang(2703) . "</td></tr>\n\t<tr class='bg'><td>", @lang(2704), ":</td><td>", @html_form("text", "opt[tree]", $opt['tree'], 40, 1), " eg. _ 0...9</td></tr>\n\t<tr class='bg'><td>", @lang(2705), ":</td><td>" . @html_form("radio", "opt[sortObj]", $opt['sortObj'], "", "", "", @array(1 => @lang(2706), @lang(2707))), "</td></tr>\n\t<tr class='bg'><td>", @lang(2708), ":</td><td>" . @html_form("radio", "opt[sortData]", $opt['sortData'], "", "", "", @array(1 => @lang(2706), @lang(2707))), "</td></tr>\n\t<tr><td>", @lang(2709), ":</td><td>" . @html_form("radio", "opt[menuTextSQL]", $opt['menuTextSQL'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr><td>", @lang(2712), ":</td><td>" . @html_form("radio", "opt[menuText]", $opt['menuText'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr class='bg'><td>", @lang(2713), ":</td><td>" . @html_form("radio", "opt[his]", $opt['his'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr class='bg'><td>", @lang(2714), ":</td><td>" . @html_form("radio", "opt[hisErr]", $opt['hisErr'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr class='bg'><td>", @lang(2715), ":</td><td>" . @html_form("radio", "opt[hisSQL]", $opt['hisSQL'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr class='bg'><td>", @lang(2716), ":</td><td>" . @html_form("radio", "opt[hisData]", $opt['hisData'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr><td><br/>Postgres: ", @lang(2717), ":</td><td><br/>" . @html_form("radio", "opt[dataEasy]", $opt['dataEasy'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr><td>Postgres: ", @lang(2718), ":</td><td>" . @html_form("radio", "opt[oid]", $opt['oid'], "", "", "", @array(@lang(2710), @lang(2711))), "</td></tr>\n\t<tr><td></td><td>", @html_form("submit", "cmd", @lang(2719)), "</td></tr>\n\t</table></form></div>";
}
开发者ID:abdeljawwad,项目名称:sedr,代码行数:16,代码来源:option.php


示例12: show_benefactor_logo

/** output the logos of zero, one or more of the Website@School benefactors
 *
 * @param object &$output collects the html output
 * @param bool $text_only if TRUE do not show a graphical image
 * @param int $num the number of benefactors to show this time around
 * @param string $m margin for increased readability
 * @return void output added to output
 */
function show_benefactor_logo(&$output, $text_only = FALSE, $num = 1, $m = '')
{
    global $CFG;
    static $benefactors = array(array('width' => 160, 'height' => 160, 'img' => 'anonymousdonor.gif', 'url' => 'http://websiteatschool.eu', 'alt' => 'Anonymous Donor', 'title' => 'Anonymous Donor'), array('width' => 160, 'height' => 40, 'img' => 'blindenpenning.gif', 'url' => 'http://www.blinden-penning.nl', 'alt' => 'Stichting Blinden-Penning', 'title' => 'Stichting Blinden-Penning - Fonds & recreatieve activiteiten voor slechtzienden en blinden'), array('width' => 160, 'height' => 170, 'img' => 'enablement.gif', 'url' => 'http://www.enablement.nl', 'alt' => 'Enablement', 'title' => 'Enablement'), array('width' => 160, 'height' => 40, 'img' => 'europeesplatform.gif', 'url' => 'http://www.europeesplatform.nl', 'alt' => 'Europees Platform', 'title' => 'Europees Platform - internationaliseren in onderwijs'), array('width' => 160, 'height' => 100, 'img' => 'mijnco2spoor.gif', 'url' => 'http://www.mijnco2spoor.nl', 'alt' => 'Stichting Mijn CO2 Spoor', 'title' => 'Stichting Mijn CO2 Spoor - Burgers voor een veilig en rechtvaardig klimaat'), array('width' => 160, 'height' => 80, 'img' => 'nvbs.gif', 'url' => 'http://www.nvbs.nl', 'alt' => 'Nederlandse Vereniging van Blinden en Slechtzienden', 'title' => 'Nederlandse Vereniging van Blinden en Slechtzienden - Oog voor U'), array('width' => 160, 'height' => 40, 'img' => 'rosaboekdrukker.gif', 'url' => 'http://rosaboekdrukker.net', 'alt' => 'Openbare Basisschool Rosa Boekdrukker', 'title' => 'Openbare Basisschool Rosa Boekdrukker'), array('width' => 160, 'height' => 72, 'img' => 'stkba.gif', 'url' => 'http://www.stkba.nl', 'alt' => 'Stichting KBA Nieuw West', 'title' => 'Stichting KBA Nieuw West'), array('width' => 160, 'height' => 98, 'img' => 'lemstratechniek.jpg', 'url' => 'http://www.lemstratechniek.nl', 'alt' => 'Lemstra Techniek', 'title' => 'Lemstra Techniek - elektrische schuifdeurkozijen en elektrisch schuifdeurbeslag'), array('width' => 160, 'height' => 106, 'img' => 'sidn.gif', 'url' => 'https://www.sidn.nl', 'alt' => 'SIDN', 'title' => 'Foundation for Internet Domain Registration in the Netherlands'));
    // 0 -- work to do at all?
    if ($num < 1) {
        return;
    }
    // 1 -- make sure we have shuffled array the first time around
    if (!isset($_SESSION['donor_index']) || !isset($_SESSION['donor_array'])) {
        $donor_array = array_keys($benefactors);
        for ($j = sizeof($donor_array) - 1; $j > 1; $j--) {
            $i = mt_rand(0, $j - 1);
            $k = $donor_array[$j];
            $donor_array[$j] = $donor_array[$i];
            $donor_array[$i] = $k;
        }
        $_SESSION['donor_array'] = $donor_array;
        $_SESSION['donor_index'] = 0;
        unset($donor_array);
    }
    $output->add_menu($m . '<h2>' . t('donors', 'admin') . '</h2>');
    if ($text_only) {
        $output->add_menu($m . '<ul>');
        $li = '  <li>';
    } else {
        $li = '';
    }
    for ($i = 0; $i < $num; ++$i) {
        $index = $_SESSION['donor_array'][$_SESSION['donor_index']++];
        $benefactor = $benefactors[$index];
        $_SESSION['donor_index'] = $_SESSION['donor_index'] % sizeof($_SESSION['donor_array']);
        $title = $benefactor['title'];
        if ($text_only) {
            $anchor = $benefactor['alt'];
        } else {
            $img_attr = array('height' => $benefactor['height'], 'width' => $benefactor['width'], 'alt' => $benefactor['alt'], 'title' => $title);
            $anchor = html_img($CFG->progwww_short . '/lib/donors/' . $benefactor['img'], $img_attr);
        }
        $a_params = array('target' => '_blank', 'title' => $title);
        $output->add_menu($m . $li . html_a($benefactor['url'], NULL, $a_params, $anchor));
    }
    if ($text_only) {
        $output->add_menu($m . '</ul>');
    }
}
开发者ID:BackupTheBerlios,项目名称:websiteatschool,代码行数:54,代码来源:donors.php


示例13: right_block

 function right_block()
 {
     $ret_val = container();
     $hr = html_hr();
     $hr->set_tag_attribute('noshade');
     $hr->set_tag_attribute('size', 2);
     $ret_val->add($hr);
     $div = html_div('ul-big');
     $div->add(html_img(Util::app_URLPath('../var/themes/Miguel/image/menu/addcourse.png'), 0, 0, 0, ''));
     $div->add(html_b('Nuevo Curso Adicionado'));
     $div->add(html_br(2));
     $ret_val->add($div);
     $div1 = html_div();
     $div1->add(agt('El curso se ha adicionado correctamente en la base de datos.'));
     $div1->add(html_br(2));
     $div1->add(agt('NOMBRE DEL CUSRSO'), ' : ', $this->getViewVariable('courseName'));
     $div1->add(html_br(2), agt('DESCRIPCION'), ' : ', $this->getViewVariable('courseDescription'));
     $div1->add(new FormProcessor(new miguel_resultNewCourseForm(), 'resultNewCourse', Util::format_URLPath('main/index.php')));
     $ret_val->add($div1);
     return $ret_val;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:21,代码来源:miguel_vresultnewcourse.class.php


示例14: formatCheckBox

 function formatCheckBox($element, $tab_index, $text, $status = '')
 {
     $this->set_form_tabindex($element, $tab_index);
     $cont = container();
     $cont->add($this->element_form($element));
     switch ($status) {
         case 'ok':
             $img = Theme::getThemeImagePath('boton_green.gif');
             break;
         case 'ko':
             $img = Theme::getThemeImagePath('boton_red.gif');
             break;
         default:
             $img = Theme::getThemeImagePath('invisible.gif');
     }
     $cont->add(html_img($img));
     $cont->add(html_b(agt($text)));
     return $cont;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:19,代码来源:miguel_bdform.class.php


示例15: formatCheckBox

 function formatCheckBox($element, $tab_index, $text, $status = '')
 {
     $this->set_form_tabindex($element, $tab_index);
     $row = html_tr();
     $check = html_td('ptabla02', '', $this->element_form($element));
     $check->set_tag_attribute('width', '1%');
     switch ($status) {
         case 'ok':
             $img = Theme::getThemeImagePath('rcorrecta.gif');
             break;
         case 'ko':
             $img = Theme::getThemeImagePath('rincorrecta.gif');
             break;
         default:
             $img = Theme::getThemeImagePath('invisible.gif');
     }
     $image = html_td('', '', html_img($img));
     $label = html_td('ptabla01', '', agt($text));
     $row->add($check);
     $row->add($image);
     $row->add($label);
     return $row;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:23,代码来源:miguel_externalform.class.php


示例16: form

 /**
  * Este metodo construye el formulario en sí.
  */
 function form()
 {
     $this->initialize();
     $table =& html_table($this->_width, 0, 0, 0);
     $table->set_class("mainInterfaceWidth");
     //$table->set_style("border: 1px solid");
     //$titulo = html_td('ptabla01','', agt('Ficha alumno'));
     //$titulo->set_tag_Attribute('colspan', '2');
     //$table->add_row($titulo);
     //Tabla de detalle
     $row = html_tr();
     $arr_data = $this->getViewVariable('arr_info');
     //Debug::oneVar($arr_data);
     if ($arr_data['image'] != '') {
         $img = Util::main_URLPath('var/secretary/user_image/user_' . $arr_data['person_id'] . '.' . $arr_data['image']);
     } else {
         $img = Theme::getThemeImagePath("anonimo.jpg");
     }
     $image = html_td('', '', html_img($img, 90, 118));
     $image->set_tag_attribute("width", "12%");
     $image->set_tag_attribute("align", "center");
     $detail_table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
     $this->add_class_row($detail_table, "Nombre");
     $detail_table->add_row(html_td('ptabla02', '', agt('Apellido')), html_td('ptabla03', '', container($this->element_form("Primer Apellido"), $this->element_form("Segundo Apellido"))));
     //Condicionar vvvvvvvvv
     $label1 = $this->element_label("Usuario");
     $label1->set_tag_attribute('class', 'ptabla02');
     $label2 = $this->element_label("Contraseña");
     $label2->set_tag_attribute('class', 'ptabla02');
     if ($this->getViewVariable('status') == 'show') {
         $detail_table->add_row(html_td('ptabla02', '', agt('Datos de acceso')), html_td('ptabla03', '', container($label1, $this->element_form("Usuario"), $label2, $this->element_form("Contraseña"))));
     }
     $this->add_class_row($detail_table, "DNI");
     $this->add_class_row($detail_table, "Dirección");
     $this->add_class_row($detail_table, "Población");
     $this->add_class_row($detail_table, "Provincia");
     $this->add_class_row($detail_table, "Pais");
     $this->add_class_row($detail_table, "Código Postal");
     $row->add($image);
     $row->add($detail_table);
     $table->add($row);
     /*
             //$this->add_class_row($table,"Tratamiento");
             $this->add_class_row($table,"Nombre");
             //$this->add_class_row($table,"Primer Apellido");
             //$this->add_class_row($table,"Segundo Apellido");
     $table->add_row(html_td('ptabla02','',agt('Apellido')), html_td('ptabla03', '', container($this->element_form("Primer Apellido"), $this->element_form("Segundo Apellido"))));
             $this->add_class_row($table,"DNI");
             //$this->add_class_row($table,"Fecha de nacimiento");
             $this->add_class_row($table,"Dirección");
             $this->add_class_row($table,"Población");
             $this->add_class_row($table,"Provincia");
             $this->add_class_row($table,"Pais");
             $this->add_class_row($table,"Código Postal");
     */
     //$this->add_class_row($table,"Teléfono");
     $table->add_row(html_td('ptabla02', '', agt('Teléfono')), html_td('ptabla03', '', container($this->element_form("Teléfono1"), $this->element_form("Teléfono2"))));
     $this->add_class_row($table, "Fax");
     //$this->add_class_row($table,"E-mail");
     $table->add_row(html_td('ptabla02', '', agt('e-mail')), html_td('ptabla03', '', container($this->element_form("E-mail1"), $this->element_form("E-mail2"), $this->element_form("E-mail3"))));
     $this->add_class_row($table, "Web");
     if ($this->getViewVariable('status') == 'new') {
         $table->add_row(html_td('ptabla02', '', agt('Fotografía')), html_td('ptabla03', '', $this->element_form("imagen")));
     }
     if ($this->getViewVariable('pid') == 3) {
         $table->add_row(html_td('ptabla02', '', agt('C.V.')), html_td('ptabla03', '', $this->element_form("cv_doc")));
     }
     if ($arr_data['cv'] != '') {
         $link = Util::main_URLPath('var/secretary/user_cv/user_' . $arr_data['person_id'] . '.' . $arr_data['cv']);
         $table->add_row(html_td('ptabla02', '', agt('CV')), html_td('ptabla03', '', html_a($link, agt('Abrir'), 'titulo03a')));
     }
     $this->add_class_row($table, "Observaciones");
     //$table->add_row($this->_tableRow("Nombre de usuario"));
     //$table->add_row($this->_tableRow("Clave de acceso"));
     //$table->add_row($this->_tableRow("Clave de acceso (confirmación)"));
     //$table->add_row($this->_tableRow("Correo electrónico"));
     //$table->add_row($this->_tableRow("Tema"));
     //$table->add_row($this->_tableRow("Perfil de usuario"));
     //$table->add_row($this->_tableRow("Politica de privacidad"));
     $row = html_tr();
     //$row->add("Politica de privacidad", "Los datos serán almacenados de forma segura y no se cederán a terceras partes.");
     $row->add("Politica de privacidad", "Los datos serán almacenados de forma segura y no se cederán a terceras partes.");
     //$table->add_row($row);
     $table->add_row(_HTML_SPACE, $this->element_form("Aceptar"));
     return $table;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:89,代码来源:miguel_inscriptionform.class.php


示例17: menu_tree_cout

function menu_tree_cout($arr, $conn)
{
    echo "<div id='menu'>\n<div><a id='menuRoot' title='", @lang(2401), "' onclick='showAll()'>", @html_img("img/eng-{$conn['1']}"), "</a> <a href='db.php?id={$conn['0']}' target='main'>", $conn[1] == "sl" ? "SQLite" : "{$conn['3']}@{$conn['2']}", "</a></div>";
    $arr_typ = @array('r' => @lang(2404), 'v' => @lang(2405), 'f' => @lang(2406), 'p' => @lang(2407), 't' => @lang(2408), 'S' => @lang(2409));
    $x = 0;
    $numX = count($arr);
    foreach ($arr as $db => $arr2) {
        $x++;
        $allNode[] = $x;
        $is_lastX = $x == $numX ? 'last' : '';
        $strX = @html_img("img/trline{$is_lastX}.gif");
        $numY = count($arr2);
        echo "\n<div>", @html_img("img/tr{$is_lastX}.gif", "", "id='t{$x}' onclick='showHideTree({$x})'"), @html_img("img/xdb", "DB: {$db}"), " <a href='db.php?id={$conn['0']},{$db}' target='main'>{$db}</a>", $numY && $conn[1] == 'pg' ? " ({$numY})" : "", "</div>\n<div id='p{$x}' style='display:none'>";
        $y = 0;
        foreach ($arr2 as $sch => $arr3) {
            $y++;
            $is_lastY = $y == $numY ? 'last' : '';
            $numZ = count($arr3);
            if ($conn[1] == 'pg') {
                $allNode[] = "{$x}.{$y}";
                $strY = @html_img("img/trline{$is_lastY}.gif");
                echo "\n\t<div>{$strX}", @html_img("img/tr{$is_lastY}.gif", "", "id='t{$x}.{$y}' onclick='showHideTree({$x}.{$y})'"), @html_img("img/xsch", "Sch: {$sch}"), " <a href='db.php?id={$conn['0']},{$db},{$sch}' target='main'>{$sch}</a></div>\n\t<div id='p{$x}.{$y}' style='display:none'>";
            }
            $z = 0;
            foreach ($arr3 as $typ => $arr4) {
                $z++;
                $is_lastZ = $z == $numZ ? 'last' : '';
                $strZ = @html_img("img/trline{$is_lastZ}.gif");
                $numZZ = $typ == 'S' ? 0 : count($arr4);
                if ($numZZ) {
                    $allNode[] = "{$x}.{$y}.{$z}";
                }
                if ($typ == 'S') {
                    $numZZsum = $arr4;
                } else {
                    $numZZsum = 0;
                    foreach ($arr4 as $arr5) {
                        $numZZsum += $typ == 'f' ? $arr5 : count( 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP html_index函数代码示例发布时间:2022-05-15
下一篇:
PHP html_image函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap