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


PHP msq函数代码示例

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


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

示例1: cek_err

<?php

cek_err();
cek_suc();
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Lihat Video | DISPLAY PRD'\r\n\t</script>\r\n\t<script>\r\n\t\t\$(document).ready(function(){\r\n\t\t\t\$('.menu10').addClass('sidebar-dash-aktif');\r\n\t\t\t\$('#table').DataTable();\r\n\t\t});\r\n\t</script>\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>i</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Lihat Video<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Data untuk melihat daftar Video...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>DISPLAY PRD</a> <span class='f-none f-symbol1'>&#215;</span> Data</div>\r\n\t\t</div>\r\n\r\n\t\t\t\t<div class='overlay wrapper-load-hapus'>\r\n\t\t\t\t\t<div class='wrapper-auto bg-putih' style='width:340px; margin-top:100px'>\r\n\t\t\t\t\t\t<div class='bg-abu-muda pd15 f-abu m0'><div class='f-symbol1 mr10'>¡</div><span class='f-segoe'>KONFIRMASI PENGHAPUSAN</span><div class='f-right f-symbol1 mr10 pointer' onclick='close_del_conf()'>Î</div></div>\r\n\t\t\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t\t\t<p class='f-segoe' align='center'>Anda yakin akan menghapus data<br>- <span class='l-nama'></span> -</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<form method='POST' id='form_input' action='aksi_hapus_video'>\r\n\t\t\t\t\t\t\t<input type='hidden' name='id' class='l-id' value=''>\r\n\t\t\t\t\t\t\t<input type='submit' name='kirim' value='YA' class='btn-login'>\r\n\t\t\t\t\t\t</form>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:900px;'>\r\n\t\t\t\t<div class='title-form'><span class='f-symbol mr10'>i</span>DATA FOTO</div>\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<table id='table' class='f-segoe' border='1' style='border:solid 1px rgba(0,0,0,0.3); border-collapse:collapse;'>\r\n\t\t\t\t\t\t<thead class='f12'>\r\n\t\t\t\t\t\t\t<tr class='title-field'>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NO</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 600px;'>JUDUL</th>\r\n\t\t\t\t\t\t\t\t<th width='10px'>AKSI</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t<tbody>";
$no = 1;
$q = msq($kon, "SELECT * from t_video order by id_video desc");
echo "\r\n\t\t\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\t\tfunction del_conf(data)\r\n\t\t\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t\t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\turl:'aksi_ambil_data_hapus_video',\r\n\t\t\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\tdata:'id='+data,\r\n\t\t\t\t\t\t\t\t\t\tdataType:'json',\r\n\t\t\t\t\t\t\t\t\t\tsuccess:function(d){\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-nama').html(d['nama']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-id').val(d['id']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tfunction close_del_conf()\r\n\t\t\t\t\t\t\t\t{\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeOut();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t";
while ($d = mfa($q)) {
    echo "\r\n\t\t\t\t\t\t\t<tr style='background:rgba(255,255,255,0.4); font-size:12px;'>\r\n\t\t\t\t\t\t\t\t<td align='center'>{$no}</td>\t\r\n\t\t\t\t\t\t\t\t<td>{$d['judul']}</td>\r\n\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t<div class='wrapper-auto' style='width:115px;'>\r\n\t\t\t\t\t\t\t\t\t\t<div class='t-center pointer link-hapus f-symbol1' onclick='del_conf({$d['id_video']})' style='margin-right:10px; background:red; padding:5px; border-radius:3px; position:relative; color:white;'>Í<span class='f-segoe' style='margin-left:5px;'>Hapus</span></div>\r\n\t\t\t\t\t\t\t\t\t\t<a href='{$_SESSION['level']}/edit_video_{$d['id_video']}' class='t-center pointer link-hapus f-symbol1' style='position:relative; background:blue; padding:5px; border-radius:3px; color:white;'>?<span class='f-segoe' style='margin-left:5px;'>Edit</span></a>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</tr>";
    $no++;
}
echo "\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\t\t\r\n\t\t\t</div>\t\t\r\n\t\t</div>\t\t\r\n\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
?>

开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:16,代码来源:lihat_video.php

示例2: msq

        height: 500,
        play: {
          active: true,
          auto: true,
          interval: 4000,
          swap: true,
        }
      });
    });
  </script>
<div style='position:relative; margin-top:10px; z-index:1;'>
	<div class='left-ribbon' style='position:relative !important; left:0; float:left;'></div>
	<div class='bg-left-ribbon f-left' style='width:300px;'>
		<div class='f-sambung f-putih' style='padding:2px 5px; font-size:35px;'>Info</div>
	</div>
	<div class='left-ribbon rotate-180'style='margin-top:-20px; margin-left:38px; position:relative !important; float:left;'></div>
		<div class='cb'></div>
</div>
<div style='background:white; position:relative; border:solid 1px #ccc; width:93%; margin-top:-50px; margin-left:40px; height:auto; padding-top:40px; padding-left:10px; padding-right:15px; padding-bottom:15px'>
	<a href='display_awal'><div class='close-gal' style='z-index:1;background:url(_asset/_images/ribbon-kembali.png)no-repeat; width:130px; height:61px; background-size:130px; position:absolute; top:5; right:-10;'></div></a>
	<div class="container" style='margin-top:10px;'>
	    <div id="slides">
	    <?php 
$q_info = msq($kon, "select * from t_info order by id_info desc");
while ($d_info = mfa($q_info)) {
    echo "<img src='_asset/_images/_info/{$d_info['foto']}'>";
}
?>
	    </div>
	  </div>
</div>
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:31,代码来源:info.php

示例3: cek_err

<?php

cek_err();
cek_suc();
$q_user = msq($kon, "select * from t_admin where username='{$_SESSION['username']}'");
$d_user = mfa($q_user);
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Edit Password | DISPLAY PRD'\r\n\t</script>\r\n\t\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>?</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Edit Password<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Form untuk mengedit password...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>SCHOOL FRENZY</a> <span class='f-none f-symbol1'>&#215;</span> Form</div>\r\n\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:500px;'>\r\n\t\t\t\t<div class='title-form'><span class='f-symbol mr10'>?</span>EDIT PASSWORD</div>\t\t\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<form method='POST' action='aksi_edit_password' enctype='multipart/form-data'>\r\n\t\t\t\t\t\t<div class='form-grup'>\r\n\t\t\t\t\t\t\t<div class='label-form'>USERNAME</div>\r\n\t\t\t\t\t\t\t<input type='text' class='form transi-3' name='username' required readonly value='{$d_user['username']}'>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class='form-grup'>\r\n\t\t\t\t\t\t\t<div class='label-form'>PASSWORD BARU</div>\r\n\t\t\t\t\t\t\t<input type='password' class='form transi-3' name='password' required>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class='form-grup'>\r\n\t\t\t\t\t\t\t<div class='label-form'>ULANGI PASSWORD BARU</div>\r\n\t\t\t\t\t\t\t<input type='password' class='form transi-3' name='password_ulangi' required>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<button class='bkirim transi-3' value='kirim' name='kirim'><span class='f-symbol1 f-none' style='margin-right:20px;'>?</span>EDIT PASSWORD</button>\r\n\t\t\t\t\t</form>\r\n\t\t\t\t</div>\t\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:9,代码来源:edit_password.php

示例4: cek_err

<?php

cek_err();
cek_suc();
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Lihat Mesin | DISPLAY PRD'\r\n\t</script>\r\n\t<script>\r\n\t\t\$(document).ready(function(){\r\n\t\t\t\$('.menu7').addClass('sidebar-dash-aktif');\r\n\t\t\t\$('#table').DataTable();\r\n\t\t});\r\n\t</script>\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>i</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Lihat Mesin<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Data untuk melihat daftar mesin di PRD DEPT...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>DISPLAY PRD</a> <span class='f-none f-symbol1'>&#215;</span> Data</div>\r\n\t\t</div>\r\n\r\n\t\t\t\t<div class='overlay wrapper-load-hapus'>\r\n\t\t\t\t\t<div class='wrapper-auto bg-putih' style='width:340px; margin-top:100px'>\r\n\t\t\t\t\t\t<div class='bg-abu-muda pd15 f-abu m0'><div class='f-symbol1 mr10'>¡</div><span class='f-segoe'>KONFIRMASI PENGHAPUSAN</span><div class='f-right f-symbol1 mr10 pointer' onclick='close_del_conf()'>Î</div></div>\r\n\t\t\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t\t\t<p class='f-segoe' align='center'>Anda yakin akan menghapus data<br>- <span class='l-nama'></span> -</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<form method='POST' id='form_input' action='aksi_hapus_mesin'>\r\n\t\t\t\t\t\t\t<input type='hidden' name='id' class='l-id' value=''>\r\n\t\t\t\t\t\t\t<input type='submit' name='kirim' value='YA' class='btn-login'>\r\n\t\t\t\t\t\t</form>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:900px;'>\r\n\t\t\t\t<div class='title-form'><span class='f-symbol mr10'>i</span>DATA MESIN</div>\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<table id='table' class='f-segoe' border='1' style='border:solid 1px rgba(0,0,0,0.3); border-collapse:collapse;'>\r\n\t\t\t\t\t\t<thead class='f12'>\r\n\t\t\t\t\t\t\t<tr class='title-field'>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NO</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 306px;'>NAMA MESIN</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 306px;'>BAGIAN</th>\r\n\t\t\t\t\t\t\t\t<th width='50px'>AKSI</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t<tbody>";
$no = 1;
$q = msq($kon, "SELECT *, m.nama as nama_mesin, b.nama as nama_bagian from t_mesin m inner join t_bagian b on m.id_bagian=b.id_bagian order by nama_mesin asc");
echo "\r\n\t\t\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\t\tfunction del_conf(data)\r\n\t\t\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t\t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\turl:'aksi_ambil_data_hapus_mesin',\r\n\t\t\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\tdata:'id='+data,\r\n\t\t\t\t\t\t\t\t\t\tdataType:'json',\r\n\t\t\t\t\t\t\t\t\t\tsuccess:function(d){\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-nama').html(d['nama']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-id').val(d['id']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tfunction close_del_conf()\r\n\t\t\t\t\t\t\t\t{\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeOut();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t";
while ($d = mfa($q)) {
    echo "\r\n\t\t\t\t\t\t\t<tr style='background:rgba(255,255,255,0.4); font-size:12px;'>\r\n\t\t\t\t\t\t\t\t<td align='center'>{$no}</td>\t\r\n\t\t\t\t\t\t\t\t<td>{$d['nama_mesin']}</td>\r\n\t\t\t\t\t\t\t\t<td>{$d['nama_bagian']}</td>\r\n\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t<div class='wrapper-auto' style='width:115px;'>\r\n\t\t\t\t\t\t\t\t\t\t<div class='t-center pointer link-hapus f-symbol1' onclick='del_conf({$d['id_mesin']})' style='margin-right:10px; background:red; padding:5px; border-radius:3px; position:relative; color:white;'>Í<span class='f-segoe' style='margin-left:5px;'>Hapus</span></div>\r\n\t\t\t\t\t\t\t\t\t\t<a href='{$_SESSION['level']}/edit_mesin_{$d['id_mesin']}' class='t-center pointer link-hapus f-symbol1' style='position:relative; background:blue; padding:5px; border-radius:3px; color:white;'>?<span class='f-segoe' style='margin-left:5px;'>Edit</span></a>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>";
    $no++;
}
echo "\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\t\t\r\n\t\t\t</div>\t\t\r\n\t\t</div>\t\t\r\n\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
?>

开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:16,代码来源:lihat_mesin.php

示例5: CNPYAL

  <?if ($ss_prmev[ro]=="M")
	{
	 // bouton ajouter en modif
	?>  
  <a href="#" onclick="javascript:popup('popup_fichpext.php?TE=A');" title="Ajouter une personne"><img src="../images/ajout_pers.gif" border="0" width="70" height="11"></a>&nbsp;&nbsp;&nbsp;
  <a href="#" onclick="javascript:popup('popup_fichste.php?TE=A');" title="Ajouter une structure"><img src="../images/ajout_struct.gif" border="0" width="70" height="11"></a>
   <? }
   if ($nbrows>=$NbLigFHB) { // affiche flèche vers le bas 
   	?><a href="#bas"><img src="../../../intranet/partage/IMAGES/bas.gif" border="0" title="vers le bas et la barre de navigation"></a>
	<? } ?>
  <br><br></td></tr>
  <?
  CNPYAL("PERS_EXT","PEX_COSOCIE"); // instancie nvel objet $CIL[NomChamp]
  CNPYAL("PERS_EXT","PEX_FONCTION"); // instancie nvel objet $CIL[NomChamp]
 
  $req=msq("SELECT $select FROM $from $where $orderb $limitc");
  if ($debug) echo ("requete: SELECT $select FROM $from $where $orderb $limitc<br>\n");
  
  $nolig=0;	
  while ($tbValChp=mysql_fetch_array($req)) {
    $nolig++;
	// booleen affichage des infos liste rouge ou pas
	$booldlr=($ss_InfoUser[COPROFIL]!=$COPROANO || $tbValChp[PEX_REDLIST]=="N");
	echo "<tr><td><b>".($nolig + $FirstPers)." .</b>";
	if ($ss_prmev[ro]=="M") echo "<a href=\"#\" onclick=\"javascript:popup('del_pext.php?NUPERS=$tbValChp[PEX_NUPERS]');\" title=\"Supprimer cette personne\"><IMG SRC=\"../images/del.gif\" BORDER=\"0\"></a>";
	echo "</td>";
	echo "<td align=\"left\">";
	$bulle="Cliquez pour ".($ss_prmev[ro]=="M" ? "modifier" : "visualiser")." les infos détaillées sur cette personne";
	$adpop="popup_fichpext.php";
	echo ($booldlr ? "<a href=\"#\" onclick=\"javascript:popup('$adpop?NUPERS=$tbValChp[PEX_NUPERS]');\" title=\"$bulle\">":"")."<span class=\"chapitrered12px\">$tbValChp[PEX_LMTITREPER] $tbValChp[PEX_LLPRENOMPERS] $tbValChp[PEX_LLNOMPERS]</span>".($booldlr ? "</a>":"")."\n";
	if ($ss_InfoUser[COPROFIL]=="SADMIN") echo "<span class=\"legendes9px\"> (".$tbValChp[PEX_NUPERS].")</span>";
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:list_pext.php

示例6: substr

$set= substr($set,0,-2); // enlève la dernière virgule et esp en trop à la fin

$key="SOC_NUSOCIE='$SOC_NUSOCIE'";
$where=" where ".$key;

if ($modif==1) // Si on vient d'une édition
  {
  $strqaj="UPDATE $NM_TABLE SET $set $where";
  }
else if ($modif==-1) // // Si on vient d'une suppression
  {
  $strqaj="DELETE FROM $NM_TABLE $where";

  }
else // Si on vient de nv enregistrement
  {
  // Ajout dans la table Mysql
  $strqaj="INSERT INTO $NM_TABLE SET $set";
  }

msq($strqaj);

echo "requete sql ajout/modif infos société: <BR> $strqaj <BR><BR>";

?>
<script language="javascript">
self.close();
</script>
</body>
</html>
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:30,代码来源:amact_soc.php

示例7: cek_err

<?php

cek_err();
cek_suc();
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Tambah Mesin | DISPLAY PRD'\r\n\t</script>\r\n\t<script>\r\n\t\t\$(document).ready(function(){\r\n\t\t\t\$('.menu7').addClass('sidebar-dash-aktif');\r\n\t\t});\r\n\t</script>\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>?</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Tambah Mesin<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Form untuk menambahkan mesin...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>DISPLAY PRD</a> <span class='f-none f-symbol1'>&#215;</span> Form</div>\r\n\t\t</div>\r\n\t\t\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:500px;'>\r\n\t\t\t<div class='title-form'><span class='f-symbol mr10'>?</span>TAMBAH MESIN</div>\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<form method='POST' action='aksi_tambah_mesin' id='form_input'>\r\n\t\t\t\t\t\t<div class='form-grup'>\r\n\t\t\t\t\t\t\t<div class='label-form'>NAMA MESIN</div>\r\n\t\t\t\t\t\t\t<input type='text' class='form transi-3' name='nama_mesin' autocomplete='off'>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class='form-grup'>\r\n\t\t\t\t\t\t\t<div class='label-form'>NAMA BAGIAN</div>\r\n\t\t\t\t\t\t\t<select class='form transi-3' name='id_bagian'>\r\n\t\t\t\t\t\t\t\t";
$q_bag = msq($kon, "SELECT * FROM t_bagian ORDER BY nama ASC");
while ($d_bag = mfa($q_bag)) {
    echo "<option value='{$d_bag['id_bagian']}'>{$d_bag['nama']}</option>";
}
echo "\t\t\t\t\t\r\n\t\t\t\t\t\t\t</select>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<button class='bkirim transi-3' value='kirim' name='kirim'><span class='f-symbol1 f-none' style='margin-right:20px;'>?</span>TAMBAH MESIN</button>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</form>\r\n\t\t\t\t</div>\t\t\r\n\t\t\t</div>\t\t\r\n\t\t</div>\t\t\r\n\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:12,代码来源:tambah_mesin.php

示例8: EchoLig

   if ($CIL[PER_TOPMAIL]->ValChp=="O" && $CIL[PER_MAILPERS]->ValChp!="") EchoLig("PER_MAILPERS");
   }
 else 
   { // en modif, affiche le mail et son activation éditable seulement pour les externes
   // seule l'admin de mail peut le changer pour les internes
   // ceci est réalisé sur une autre page
   // $FTE=($ss_prmev[typers]=="E" ? $TypEdit : "C");
   $FTE="C"; // pour les externes, c'est maintenant fait ailleurs
   EchoLig("PER_TOPMAIL",$FTE);
   EchoLig("PER_MAILPERS",$FTE);
   EchoLig("PER_EXPEXT",$FTE);
   EchoLig("PER_LCIDPERS",$FTE);
   if ($FTE=="C") { // en modif interne
     echo "<tr><td colspan=\"2\" class=\"legendered9px\">";
     echo "<U>N.B.:</U> Seul le(s) administrateur(s) de mail <b>";
     $rqrm=msq("select PER_LLPRENOMPERS,PER_LLNOMPERS,PER_MAILPERS from PERSONNE LEFT JOIN ENV_POSSEDE ON PER_NUPERS=POS_NUPERS WHERE POS_COPROFIL='ML_ADM' OR POS_COPROFIL='SADMIN'");
     while ($rwrm=mysql_fetch_array($rqrm)) {
       echo "<a href=\"mailto:".$rwrm[PER_MAILPERS]."?subject=Activation/modification de mail\">".$rwrm[PER_LLPRENOMPERS]." ".$rwrm[PER_LLNOMPERS]."</A>, ";
       }
     echo "</b>sont habilités à gérer les adresses mails internes ainsi que l'identifiant et l'exportation des coordonnées. Contactez-les pour ce faire.</td></tr>";
     }
    }
 
 //liste rouge qu'en édition
 if ($TypEdit!="C") EchoLig("PER_REDLIST");
 
 // affichage unité de rattachement et unité géographique
 if ($TypEditRP!="C") { // LD en edition
   EchoLig("DRH_NUUNITE",$TypEditRP);
   EchoLig("DRH_NUGEOPOS",$TypEditRP);
   EchoLig("DRH_NURESADM",$TypEditRP);
开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:31,代码来源:popup_fichpers.php

示例9: msq

        }
        echo "\r\n\t\t\t\t\t\t\t\t\t<tr style='font-size:12px; background:{$bg};'>\r\n\t\t\t\t\t\t\t\t\t\t<td align='center'><input type='checkbox' name='nik[]' value='{$d['nik']}'></td>\t\r\n\t\t\t\t\t\t\t\t\t\t<td>{$d['nik']}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$d['nama_karyawan']}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$tgs}</\ttd>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<div class='psn'></div>\r\n\t\t\t\t\t\t\t\t\t</tr>";
        $no++;
    }
    echo "\r\n\t\t\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t\t\t</table>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t";
}
$q_mes = msq($kon, "SELECT\r\n\t\t\t\t\t\t\t\t\t\tDISTINCT\r\n\t\t\t\t\t\t\t\t\t\tm.*\r\n\t\t\t\t\t\t\t\t\tFROM\r\n\t\t\t\t\t\t\t\t\t\tt_mesin m\r\n\t\t\t\t\t\t\t\t\tleft join t_karyawan k\r\n\t\t\t\t\t\t\t\t\ton m.id_mesin=k.id_mesin\r\n\t\t\t\t\t\t\t\t\tWHERE\r\n\t\t\t\t\t\t\t\t\t\tk.id_mesin is not null\r\n\t\t\t\t\t\t\t\t\t\tAND\r\n\t\t\t\t\t\t\t\t\t\tm.id_mesin NOT IN (\r\n\t\t\t\t\t\t\t\t\t\t\tSELECT\r\n\t\t\t\t\t\t\t\t\t\t\t\tid_mesin_pack\r\n\t\t\t\t\t\t\t\t\t\t\tFROM\r\n\t\t\t\t\t\t\t\t\t\t\t\tt_mesin_detail\r\n\t\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t\tAND m.id_mesin NOT IN (\r\n\t\t\t\t\t\t\t\t\t\tSELECT\r\n\t\t\t\t\t\t\t\t\t\t\tid_mesin_fill\r\n\t\t\t\t\t\t\t\t\t\tFROM\r\n\t\t\t\t\t\t\t\t\t\t\tt_mesin_detail\r\n\t\t\t\t\t\t\t\t\t)");
while ($d_mes = mfa($q_mes)) {
    echo "\r\n\t\t\t\t\t<div style='width:100%; border:solid 1px #ccc; margin-bottom:10px;'>\r\n\t\t\t\t\t\t<div style='background:#eee; border-bottom: solid 1px #ccc; padding:15px;' class='tbl-mesin  mesin-{$d_mes['id_mesin']} pointer' onclick='show_mesin({$d_mes['id_mesin']})'>{$d_mes['nama']}<div class='f-right f-symbol1'>></div></div>\r\n\t\t\t\t\t\t\t<div class='wrap-mesin-{$d_mes['id_mesin']}' style='display:none;'>\r\n\t\t\t\t\t\t\t<div class='form-grup' style='margin:10px;'>\r\n\t\t\t\t\t\t\t\t<div class='label-form'>NAMA SHIFT</div>\r\n\t\t\t\t\t\t\t\t<select class='form transi-3' name='id_shift_{$d_mes['id_mesin']}'>\r\n\t\t\t\t\t\t\t\t\t<option>PILIH SHIFT</option>";
    $q_shift = msq($kon, "SELECT * FROM t_shift ORDER BY nama ASC");
    while ($d_shift = mfa($q_shift)) {
        echo "<option value='{$d_shift['id_shift']}'>{$d_shift['nama']} ( {$d_shift['wkt_mulai']} - {$d_shift['wkt_akhir']} )</option>";
    }
    echo "\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t</select>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div style='height:200px; overflow-y:scroll;' class='ov-scr'>\r\n\t\t\t\t\t\t\t<table class='table' width='96%'' class='f-segoe hover stripe' border='1' style='margin-left:10px !important; margin:10px !important; border:solid 1px rgba(0,0,0,0.3); border-collapse:collapse;'>\r\n\t\t\t\t\t\t\t\t<thead class='f12'>\r\n\t\t\t\t\t\t\t\t\t<tr class='title-field'>\r\n\t\t\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>PILIH</th>\r\n\t\t\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NIK</th>\r\n\t\t\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NAMA</th>\r\n\t\t\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 156px;'>TUGAS</th>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t\t\t<tbody>";
    $no = 1;
    $q = msq($kon, "SELECT *, t.tugas AS nama_tugas, k.nama AS nama_karyawan, b.nama AS nama_bagian,m.nama AS nama_mesin FROM t_karyawan k\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tINNER JOIN t_bagian b ON k.id_bagian=b.id_bagian\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tINNER JOIN t_mesin m ON m.id_mesin=k.id_mesin\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tINNER JOIN t_tugas t ON k.tugas=t.id_tugas\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tWHERE k.id_mesin={$d_mes['id_mesin']} order by m.id_mesin");
    echo "\r\n\t\t\t\t\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\t\t\t\tfunction del_conf(data)\r\n\t\t\t\t\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\t\t\turl:'aksi_ambil_data_hapus',\r\n\t\t\t\t\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\t\t\tdata:'nik='+data,\r\n\t\t\t\t\t\t\t\t\t\t\t\tdataType:'json',\r\n\t\t\t\t\t\t\t\t\t\t\t\tsuccess:function(d){\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\$('.l-nama').html(d['nama']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\$('.l-id').val(d['id']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tfunction close_del_conf()\r\n\t\t\t\t\t\t\t\t\t\t{\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeOut();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t// function cek_penyelia(nik)\r\n\t\t\t\t\t\t\t\t\t\t// {\r\n\t\t\t\t\t\t\t\t\t\t// \tif(\$('#id_nik_'+nik).is(':checked'))\r\n\t\t\t\t\t\t\t\t\t\t// \t{\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\turl:'aksi_cek_penyelia',\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\tdata:'nik='+nik,\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\tdataType: 'json',\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\tsuccess: function(d){\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t\tif(d['hasil']=='1')\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t\t\t\$('#in_id').val(nik);\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t\t\t\$('.wrapper-cek-penyelia').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t// \t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t// \t\t});\r\n\t\t\t\t\t\t\t\t\t\t// \t}\r\n\t\t\t\t\t\t\t\t\t\t// \treturn false;\r\n\t\t\t\t\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t\t\t";
    while ($d = mfa($q)) {
        if ($d['id_bagian'] == '3') {
            $bg = '#ddd';
        } else {
            $bg = '';
        }
        if ($d['tugas'] == 'Operator') {
            $tgs = $d['tugas'] . " " . $d['nama_bagian'];
        } else {
            $tgs = $d['tugas'];
        }
        echo "\r\n\t\t\t\t\t\t\t\t\t<tr style='font-size:12px; background:{$bg};'>\r\n\t\t\t\t\t\t\t\t\t\t<td align='center'><input type='checkbox' name='nik[]' value='{$d['nik']}'></td>\t\r\n\t\t\t\t\t\t\t\t\t\t<td>{$d['nik']}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$d['nama_karyawan']}</td>\r\n\t\t\t\t\t\t\t\t\t\t<td>{$tgs}</\ttd>\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<div class='psn'></div>\r\n\t\t\t\t\t\t\t\t\t</tr>";
        $no++;
    }
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:31,代码来源:tambah_jpm.php

示例10: cek_err

<?php

cek_err();
cek_suc();
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Lihat JPM | DISPLAY PRD'\r\n\t</script>\r\n\t<script>\r\n\t\t\$(document).ready(function(){\r\n\t\t\t\$('.menu2').addClass('sidebar-dash-aktif');\r\n\t\t\t\$('#table').DataTable();\r\n\t\t});\r\n\t</script>\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>i</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Lihat jpm<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Form untuk melihat daftar jpm di PRD DEPT...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>DISPLAY PRD</a> <span class='f-none f-symbol1'>&#215;</span> Form</div>\r\n\t\t</div>\r\n\t\t\r\n\r\n\t\t\t\t<div class='overlay wrapper-load-hapus'>\r\n\t\t\t\t\t<div class='wrapper-auto bg-putih' style='width:340px; margin-top:100px'>\r\n\t\t\t\t\t\t<div class='bg-abu-muda pd15 f-abu m0'><div class='f-symbol1 mr10'>¡</div><span class='f-segoe'>KONFIRMASI PENGHAPUSAN</span><div class='f-right f-symbol1 mr10 pointer' onclick='close_del_conf()'>Î</div></div>\r\n\t\t\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t\t\t<p class='f-segoe' align='center'>Anda yakin akan menghapus data<br>- <span class='l-nama'></span> -</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<form method='POST' id='form_input' action='aksi_hapus_jpm'>\r\n\t\t\t\t\t\t\t<input type='hidden' name='id' class='l-id' value=''>\r\n\t\t\t\t\t\t\t<input type='submit' name='kirim' value='YA' class='btn-login'>\r\n\t\t\t\t\t\t</form>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:900px;'>\r\n\t\t\t\t<div class='title-form'><span class='f-symbol mr10'>i</span>DATA JPM</div>\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<table id='table' class='f-segoe' border='1' style='border:solid 1px rgba(0,0,0,0.3); border-collapse:collapse;'>\r\n\t\t\t\t\t\t<thead class='f12'>\r\n\t\t\t\t\t\t\t<tr class='title-field'>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NO</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>TANGGAL MULAI</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>TANGGAL AKHIR</th>\r\n\t\t\t\t\t\t\t\t<th width='50px'>AKSI</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t<tbody>";
$no = 1;
$q = msq($kon, "SELECT * FROM t_jpm order by id_jpm desc");
echo "\r\n\t\t\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\t\tfunction del_conf(data)\r\n\t\t\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t\t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\turl:'aksi_ambil_data_hapus_jpm',\r\n\t\t\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\tdata:'id='+data,\r\n\t\t\t\t\t\t\t\t\t\tdataType:'json',\r\n\t\t\t\t\t\t\t\t\t\tsuccess:function(d){\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-nama').html(d['nama']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-id').val(d['id']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tfunction close_del_conf()\r\n\t\t\t\t\t\t\t\t{\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeOut();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t";
while ($d = mfa($q)) {
    echo "\r\n\t\t\t\t\t\t\t<tr style='background:rgba(255,255,255,0.4); font-size:12px;'>\r\n\t\t\t\t\t\t\t\t<td align='center'>{$no}</td>\r\n\t\t\t\t\t\t\t\t<td>{$d['tgl_mulai']}</td>\r\n\t\t\t\t\t\t\t\t<td>{$d['tgl_akhir']}</td>\r\n\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t<div class='wrapper-auto' style='width:115px;'>\r\n\t\t\t\t\t\t\t\t\t\t<div class='t-center pointer link-hapus f-symbol1' onclick='del_conf({$d['id_jpm']})' style='margin-right:10px; background:red; padding:5px; border-radius:3px; position:relative; color:white;'>Í<span class='f-segoe' style='margin-left:5px;'>Hapus</span></div>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</tr>";
    $no++;
}
echo "\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\t\t\r\n\t\t\t</div>\t\t\r\n\t\t</div>\t\t\r\n\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
?>


开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:16,代码来源:lihat_jpm.php

示例11: mfa

			$('.left-wrapper').css({
				"margin-left":"-20%"
			});

			$('#t-menu').text('Tampilkan Menu');
			a=0;
		}
	});
});
	
</script>

<div class='show-menu animated bounceInLeft' style='background:#48cb86; padding:15px; color:white; float:left; position:absolute; left:10; top:10; cursor:pointer;'><div class='f-symbol' style=''>C</div>&nbsp;&nbsp;&nbsp;&nbsp;<span id='t-menu'>Tampilkan Menu</span></div>

<?php 
$ip = mfa(msq($kon, "select ip_xl from t_web"));
?>

<div class='animated slideInUp'>
	<div style='position:relative; margin-top:10px;'>
		<div class='left-ribbon' style='position:relative !important; left:0; float:left;'></div>
		<div class='bg-left-ribbon f-left' style='width:300px;'>
			<div class='f-sambung f-putih' style='padding:2px 5px; font-size:35px;'>XL 800</div>
		</div>
		<div class='left-ribbon rotate-180'style='margin-top:-20px; margin-left:38px; position:relative !important; float:left;''></div>
			<div class='cb'></div>
	</div>
	<div style='background:white; width:990px; margin-top:-50px; margin-left:40px; height:450px;'>
		<div style='margin:10px; width:990px; height:400px; overflow:hidden;'>
			<object style='margin-left:-265px;' type='text/html' data='<?php 
echo "http://" . $ip['ip_xl'];
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:31,代码来源:awal.php

示例12: msq

			"width":"80%"
		});
	});
</script>
<script src="_asset/_js/sliderengine/amazingslider.js"></script>
<script src="_asset/_js/sliderengine/initslider-1.js"></script>

<div style='position:relative; margin-top:10px; z-index:1;'>
	<div class='left-ribbon' style='position:relative !important; left:0; float:left;'></div>
	<div class='bg-left-ribbon f-left' style='width:300px;'>
		<div class='f-sambung f-putih' style='padding:2px 5px; font-size:35px;'>Galeri Foto</div>
	</div>
	<div class='left-ribbon rotate-180'style='margin-top:-20px; margin-left:38px; position:relative !important; float:left;''></div>
		<div class='cb'></div>
</div>
<div style='background:white; position:relative; width:950px; margin-top:-50px; margin-left:40px; height:auto; padding-top:40px; padding-left:15px; padding-right:15px; padding-bottom:15px'>
	<a href='display_awal'><div class='close-gal' style='z-index:1;background:url(_asset/_images/ribbon-kembali.png)no-repeat; width:130px; height:61px; background-size:130px; position:absolute; top:5; right:-10;'></div></a>
	<div style="margin:30px auto;max-width:950px;">
	 <div id="amazingslider-1" style="display:block;position:relative;margin:16px auto 32px;">
	        <ul class="amazingslider-slides" style="display:none;">
	        <?php 
$q = msq($kon, "select * from t_foto order by id_foto desc");
while ($d = mfa($q)) {
    echo "<li><img src='_asset/_images/_foto/{$d['foto']}' alt='{$d['judul']}' /></li>";
}
?>
	            
	        </ul>
	 </div>
	</div>
</div>
开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:31,代码来源:galFoto.php

示例13: modpages

 function modpages($uid)
 {
     $rsp = msq("select uid from pages where pid={$uid}");
     while ($resp = mysql_fetch_row($rsp)) {
         $this->uidttc++;
         msq("update pages set doktype=1 where uid=" . $resp[0]);
         msq("INSERT INTO `tt_content` VALUES (" . $this->uidttc . ", " . $resp[0] . ", 1139397467, 1139397467, 0, 256, 'list', 'Règlementation', '', '', '', 0, 8, '', 0, 0, '', 0, 0, 0, '', 0x33323137, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, '0', '', 0, 0, 0, 0, '0', 'vm19_hn_reglementation_pi1', 0, 0, 0, 0, '', 1, 0, 0, 0, 0, '0', '', 0, 0, 0, 0, 0, 0, 0, '', 0, 0, '', '', 0, 0x613a32313a7b733a353a224354797065223b4e3b733a31363a227379735f6c616e67756167655f756964223b4e3b733a363a22636f6c506f73223b4e3b733a31313a2273706163654265666f7265223b4e3b733a31303a2273706163654166746572223b4e3b733a31333a2273656374696f6e5f6672616d65223b4e3b733a31323a2273656374696f6e496e646578223b4e3b733a393a226c696e6b546f546f70223b4e3b733a363a22686561646572223b4e3b733a31353a226865616465725f706f736974696f6e223b4e3b733a31333a226865616465725f6c61796f7574223b4e3b733a31313a226865616465725f6c696e6b223b4e3b733a343a2264617465223b4e3b733a393a226c6973745f74797065223b4e3b733a31303a2273656c6563745f6b6579223b4e3b733a353a227061676573223b4e3b733a393a22726563757273697665223b4e3b733a363a2268696464656e223b4e3b733a393a22737461727474696d65223b4e3b733a373a22656e6474696d65223b4e3b733a383a2266655f67726f7570223b4e3b7d, '')");
         $this->modpages($resp[0]);
     }
     return '';
 }
开发者ID:BackupTheBerlios,项目名称:stypo3dext,代码行数:11,代码来源:class.tx_vm19hnreglementation_pi1_dl3treeOK_butnoindex.php

示例14: require

<?
require("../html/infos.php");	
InitPage(true); // initialise en envoyant les balises de début <HTML> etc ...

// Moulinette qui rajoute des , en début et fin de champs pseudo set
$TABLE="CORPS";
$CHP_SET="COR_LLCORPS";
$CHP_CLE="COR_COCORPS";

$rpmoul=msq("select * from $TABLE");
while ($rw=mysql_fetch_array($rpmoul)) {
		$rw[$CHP_SET]=addslashes(ucfirst($rw[$CHP_SET]));
		msq("update $TABLE set $CHP_SET='$rw[$CHP_SET]' where $CHP_CLE='$rw[$CHP_CLE]'"); 
		echo $rw[$CHP_SET]."<BR>";
	}

?>
</body>
</html>



开发者ID:BackupTheBerlios,项目名称:fhnreposit,代码行数:19,代码来源:MOULINETTE.php

示例15: cek_err

<?php

cek_err();
cek_suc();
echo "\r\n\t<script>\r\n\t\tdocument.title = 'Lihat Berita Berjalan | DISPLAY PRD'\r\n\t</script>\r\n\t<script>\r\n\t\t\$(document).ready(function(){\r\n\t\t\t\$('.menu4').addClass('sidebar-dash-aktif');\r\n\t\t\t\$('#table').DataTable();\r\n\t\t});\r\n\t</script>\r\n\t\t<div class='title-admin'>\r\n\t\t\t<div style='padding:20px; height:142px; background:rgba(0,0,0,0.4)'>\r\n\t\t\t\t<div style='font-size:70px; margin-right:15px; margin-top:10px;' class='f-putih f-symbol'>i</div>\r\n\t\t\t\t\t<div class='f-putih f24 f-segoe' style='padding:15px; margin-top:50px;'>Lihat Berita Berjalan<br><div style='margin-top:7px;' class='f-segoe f-putih f16'><i>Data untuk melihat daftar berita berjalan...</i></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class='title-dash'>\r\n\t\t\t<div class='f14'><a href='#' class='link-biru'>DISPLAY PRD</a> <span class='f-none f-symbol1'>&#215;</span> Data</div>\r\n\t\t</div>\r\n\r\n\t\t\t\t<div class='overlay wrapper-load-hapus'>\r\n\t\t\t\t\t<div class='wrapper-auto bg-putih' style='width:340px; margin-top:100px'>\r\n\t\t\t\t\t\t<div class='bg-abu-muda pd15 f-abu m0'><div class='f-symbol1 mr10'>¡</div><span class='f-segoe'>KONFIRMASI PENGHAPUSAN</span><div class='f-right f-symbol1 mr10 pointer' onclick='close_del_conf()'>Î</div></div>\r\n\t\t\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t\t\t<p class='f-segoe' align='center'>Anda yakin akan menghapus data<br>- <span class='l-nama'></span> -</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<form method='POST' id='form_input' action='aksi_hapus_beritaBerjalan'>\r\n\t\t\t\t\t\t\t<input type='hidden' name='id' class='l-id' value=''>\r\n\t\t\t\t\t\t\t<input type='submit' name='kirim' value='YA' class='btn-login'>\r\n\t\t\t\t\t\t</form>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t<div class='wrapper-tengah'>\r\n\t\t\t<div class='wrapper-form' style='width:900px;'>\r\n\t\t\t\t<div class='title-form'><span class='f-symbol mr10'>i</span>DATA BERITA</div>\r\n\t\t\t\t<div class='pd15'>\r\n\t\t\t\t\t<table id='table' class='f-segoe' border='1' style='border:solid 1px rgba(0,0,0,0.3); border-collapse:collapse;'>\r\n\t\t\t\t\t\t<thead class='f12'>\r\n\t\t\t\t\t\t\t<tr class='title-field'>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 56px;'>NO</th>\r\n\t\t\t\t\t\t\t\t<th class='sorting' tabindex='0' aria-controls='example' rowspan='1' colspan='1' aria-label='Office: activate to sort column ascending' style='width: 300px;'>JUDUL</th>\r\n\t\t\t\t\t\t\t\t<th width='10px'>AKSI</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t\t<tbody>";
$no = 1;
$q = msq($kon, "SELECT * from t_teks_berjalan order by id_teks desc");
echo "\r\n\t\t\t\t\t\t\t<script>\r\n\t\t\t\t\t\t\t\tfunction del_conf(data)\r\n\t\t\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t\t\t\$.ajax({\r\n\t\t\t\t\t\t\t\t\t\turl:'aksi_ambil_data_hapus_beritaBerjalan',\r\n\t\t\t\t\t\t\t\t\t\ttype:'POST',\r\n\t\t\t\t\t\t\t\t\t\tdata:'id='+data,\r\n\t\t\t\t\t\t\t\t\t\tdataType:'json',\r\n\t\t\t\t\t\t\t\t\t\tsuccess:function(d){\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeIn();\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-nama').html(d['nama']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\$('.l-id').val(d['id']);\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tfunction close_del_conf()\r\n\t\t\t\t\t\t\t\t{\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\$('.wrapper-load-hapus').fadeOut();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</script>\r\n\t\t\t\t\t\t\t";
while ($d = mfa($q)) {
    echo "\r\n\t\t\t\t\t\t\t<tr style='background:rgba(255,255,255,0.4); font-size:12px;'>\r\n\t\t\t\t\t\t\t\t<td align='center'>{$no}</td>\t\r\n\t\t\t\t\t\t\t\t<td>{$d['teks']}</td>\r\n\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t<div class='wrapper-auto' style='width:115px;'>\r\n\t\t\t\t\t\t\t\t\t\t<div class='t-center pointer link-hapus f-symbol1' onclick='del_conf({$d['id_teks']})' style='margin-right:10px; background:red; padding:5px; border-radius:3px; position:relative; color:white;'>Í<span class='f-segoe' style='margin-left:5px;'>Hapus</span></div>\r\n\t\t\t\t\t\t\t\t\t\t<a href='{$_SESSION['level']}/edit_beritaBerjalan_{$d['id_teks']}' class='t-center pointer link-hapus f-symbol1' style='position:relative; background:blue; padding:5px; border-radius:3px; color:white;'>?<span class='f-segoe' style='margin-left:5px;'>Edit</span></a>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t</tr>";
    $no++;
}
echo "\r\n\t\t\t\t\t\t</tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\t\t\r\n\t\t\t</div>\t\t\r\n\t\t</div>\t\t\r\n\t\t\r\n\t";
unset($_SESSION['suc']);
unset($_SESSION['err']);
?>

开发者ID:alimustofa,项目名称:DisplayPRD,代码行数:16,代码来源:lihat_beritaBerjalan.php


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