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


PHP kotakjudul函数代码示例

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


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

示例1: blok

function blok($posisi)
{
    global $koneksi_db;
    $modulku = $koneksi_db->sql_query("SELECT * FROM blok WHERE published=1 AND posisi={$posisi} ORDER BY ordering");
    while ($viewmodul = $koneksi_db->sql_fetchrow($modulku)) {
        kotakjudul($viewmodul['1'], $viewmodul['2'], '');
    }
}
开发者ID:sofiasrifin,项目名称:sistermetta,代码行数:8,代码来源:fungsi.php

示例2: while

            $menueditor = "<ul>";
            $hasil = $koneksi_db->sql_query("SELECT * FROM `menu_editor` ORDER BY ordering ASC");
            while ($data = $koneksi_db->sql_fetchrow($hasil)) {
                $adminmenu = $data['url'];
                $menueditor .= '<li><a href="' . $adminmenu . '">' . $data['menu'] . '</a></li>';
            }
            $menueditor .= "</ul>";
            $hasil2 = $koneksi_db->sql_query("SELECT * FROM `useraura` where user = '{$username}'");
            $data2 = $koneksi_db->sql_fetchrow($hasil2);
            $avatar = $data2['avatar'];
            $secure = '<div class=border align=center>Welcome    : <b>' . $_SESSION['UserName'] . '</b><br><img src =mod/profile/images/' . $avatar . '><br />Your Level : <b>' . $_SESSION['LevelAkses'] . '</b></div>';
            $secure .= $menueditor;
            kotakjudul("Your Account", $secure);
        } else {
            $username = $_SESSION['UserName'];
            $menuuser = "<ul>";
            $hasil = $koneksi_db->sql_query("SELECT * FROM `menu_users` ORDER BY ordering ASC");
            while ($data = $koneksi_db->sql_fetchrow($hasil)) {
                $adminmenu = $data['url'];
                $menuuser .= '<li><a href="' . $adminmenu . '">' . $data['menu'] . '</a></li>';
            }
            $menuuser .= "</ul>";
            $hasil2 = $koneksi_db->sql_query("SELECT * FROM `useraura` where user = '{$username}'");
            $data2 = $koneksi_db->sql_fetchrow($hasil2);
            $avatar = $data2['avatar'];
            $secure = '<div class=border align=center>Welcome    : <b>' . $_SESSION['UserName'] . '</b><br><img src =mod/profile/images/' . $avatar . '><br />Your Level : <b>' . $_SESSION['LevelAkses'] . '</b></div>';
            $secure .= $menuuser;
            kotakjudul("Your Account", $secure);
        }
    }
}
开发者ID:rekysda,项目名称:indorepair,代码行数:31,代码来源:menuadmin.php

示例3: header

<?php

if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
    header("HTTP/1.1 404 Not Found");
    exit;
}
global $koneksi_db, $url_situs;
$title = "Rubrik";
$perintah = "SELECT * FROM topik where parentid=0 ORDER BY id";
$hasil = $koneksi_db->sql_query($perintah);
$topikbox = "<ul>";
while ($data = $koneksi_db->sql_fetchrow($hasil)) {
    $judul = AuraCMSSEO($data['topik']);
    $id = $data['id'];
    $total = $koneksi_db->sql_query("SELECT * FROM artikel where publikasi=1 and topik ='{$id}'");
    $jumlah = $koneksi_db->sql_numrows($total);
    $topikbox .= '<li><a href="' . $url_situs . '/' . get_link($id, $judul, "category") . '" title="' . $data['topik'] . '">' . $data['topik'] . ' (' . $jumlah . ')</a></li>';
}
$topikbox .= "</ul>";
kotakjudul($title, $topikbox);
开发者ID:rekysda,项目名称:talsurabaya,代码行数:20,代码来源:topikbox.php

示例4: XMLHttpRequest

req = false;
}
}
if (!req && typeof XMLHttpRequest != 'undefined') {
req = new XMLHttpRequest();
}
document.getElementById('_loading_calendar').style.display = 'inline';
req.open('get','/mod/calendar/calendar_response.php?'+url,true);
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
req.onreadystatechange = function() {
\tif (req.readyState == 4 && req.status == 200) {
document.getElementById('_loading_calendar').style.display = 'none';
document.getElementById('mod_calendar').innerHTML = req.responseText;
\t\t}
\t};
req.send(null);
}
function kukiover(calid){
var theform = document.getElementById(calid).style.display="block";
}
function kukiout(calid){
var theform = document.getElementById(calid).style.display="none";
}
//]]>
</script>
cal;
$out = ob_get_contents();
ob_end_clean();
if (isset($toolstips_cal_EVENT) && (@$_GET['act'] != 'calendar_view' or !isset($_GET['sel_date']))) {
    kotakjudul('Event', '<span class="boxisimenu">' . $toolstips_cal_EVENT . '</span>');
}
开发者ID:rekysda,项目名称:akademik,代码行数:31,代码来源:calendar.php

示例5: while

$username=$_SESSION['UserName'];
$hasil = $koneksi_db->sql_query( "SELECT * FROM menu_users where parent =0 ORDER BY ordering ASC" );
$menuadmin = "<ul>";
while ($data = $koneksi_db->sql_fetchrow($hasil)) {

		$target = "?aksi=logout";
		if ($data[2]==$target) {
			$adminmenu = "$target";
			$data[1] = "<b>$data[1]</b>";
		} else {
			$adminmenu = $data[2];
			
		}
$parentid=$data[0];
$menuadmin.= '<div class="bg2"><img src="themes/administrator/images/'.$data[5].'" align="top" style="margin-right:8px;">'.$data[1].'</div>';
$hasil2 = $koneksi_db->sql_query( "SELECT * FROM menu_users where parent =$parentid ORDER BY menu ASC" );
$menuadmin .= "<ul>";
while ($data2 = $koneksi_db->sql_fetchrow($hasil2)) {
$adminmenu2 =$data2['url'];
$menuadmin.= '<li><a href="'.$adminmenu2.'">'.$data2[1].'</a></li>';
}
}
$menuadmin.= "</ul>";


kotakjudul('User Menu', $menuadmin);
}
}
}

?>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:menuadmin.php

示例6: kotakjudul

                    $menuadmin .= '<li><a href="' . $adminmenu2 . '">' . $data2[1] . '</a></li>';
                }
            }
            $menuadmin .= "</ul>";
            kotakjudul('<span class="link"><a href="./">Menu Guru</a></span>', $menuadmin);
        } else {
            $username = $_SESSION['UserName'];
            $hasil = $koneksi_db->sql_query("SELECT * FROM menu_siswa where parent =0 ORDER BY ordering ASC");
            $menuadmin .= "<ul>";
            while ($data = $koneksi_db->sql_fetchrow($hasil)) {
                $target = "?aksi=logout";
                if ($data[2] == $target) {
                    $adminmenu = "{$target}";
                    $data[1] = "<b>{$data['1']}</b>";
                } else {
                    $adminmenu = $data[2];
                }
                $parentid = $data[0];
                $menuadmin .= '<h4 class="bg2"><img src="themes/administrator/images/' . $data[5] . '" align="top" style="margin-right:8px;">' . $data[1] . '</h4>';
                $hasil2 = $koneksi_db->sql_query("SELECT * FROM menu_siswa where parent ={$parentid} ORDER BY menu ASC");
                $menuadmin .= "<ul>";
                while ($data2 = $koneksi_db->sql_fetchrow($hasil2)) {
                    $adminmenu2 = $data2['url'];
                    $menuadmin .= '<li><a href="' . $adminmenu2 . '">' . $data2[1] . '</a></li>';
                }
            }
            $menuadmin .= "</ul>";
            kotakjudul('<span class="link"><a href="./">Menu Siswa</a></span>', $menuadmin);
        }
    }
}
开发者ID:rekysda,项目名称:elearningfratz,代码行数:31,代码来源:menuadmin.php

示例7: kotakjudul

                    $menuadmin .= '<li><a href="' . $adminmenu2 . '">' . $data2[1] . '</a></li>';
                }
            }
            $menuadmin .= "</ul>";
            kotakjudul('<span class="link"><a href="./">Teacher Menu</a></span>', $menuadmin);
        } else {
            $username = $_SESSION['UserName'];
            $hasil = $koneksi_db->sql_query("SELECT * FROM menu_siswa where parent =0 ORDER BY ordering ASC");
            $menuadmin = "<ul>";
            while ($data = $koneksi_db->sql_fetchrow($hasil)) {
                $target = "?aksi=logout";
                if ($data[2] == $target) {
                    $adminmenu = "{$target}";
                    $data[1] = "<b>{$data['1']}</b>";
                } else {
                    $adminmenu = $data[2];
                }
                $parentid = $data[0];
                $menuadmin .= '<h4 class="bg2"><img src="themes/administrator/images/' . $data[5] . '" align="top" style="margin-right:8px;">' . $data[1] . '</h4>';
                $hasil2 = $koneksi_db->sql_query("SELECT * FROM menu_siswa where parent ={$parentid} ORDER BY menu ASC");
                $menuadmin .= "<ul>";
                while ($data2 = $koneksi_db->sql_fetchrow($hasil2)) {
                    $adminmenu2 = $data2['url'];
                    $menuadmin .= '<li><a href="' . $adminmenu2 . '">' . $data2[1] . '</a></li>';
                }
            }
            $menuadmin .= "</ul>";
            kotakjudul('<span class="link"><a href="./">Student Menu</a></span>', $menuadmin);
        }
    }
}
开发者ID:rekysda,项目名称:elearningmetta,代码行数:31,代码来源:menuadmin.php

示例8:

<?php
开发者ID:nickohappy7,项目名称:sister,代码行数:1,代码来源:fungsi.php


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