Esempio n. 1
0
}
?>
})
 </script>
<body>
<div class="title">上傳岗位:</div>
<div class="main_body">
<form action="?act=add_news" method="post" enctype="multipart/form-data" id="add_news">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10%" class="left">所属分类:</td>
    <td colspan="3">
      <select id="cid" name="cid">
        <?php 
$sql = "select id,name from `th_job_class` order by ord desc,id";
echo $list = typeList('list', $sql);
?>
        </select>
      </td>
  </tr>
  <tr>
    <td class="left"><label for="label">岗位名称:</label></td>
    <td colspan="3">Chinese:
      <input name="job" type="text" id="job" value="" /> 
      &nbsp;English:
      <input name="enjob" type="text" id="enjob" value="" /></td>
  </tr>
  <tr>
    <td class="left">工作地点:</td>
    <td><label for="address"></label>
      Chinese:
Esempio n. 2
0
<body>
<div class="title">新闻Edit:  <input name="" type="button" class="goback" value="Back" onclick="history.go(-<?php 
echo $goback;
?>
);" /></div>
<div class="main_body">
  <div class="conbox">
    <form method="post" action="?act=update_news" id="add_news" enctype="multipart/form-data">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="15%" class="left">所属分类:</td>
          <td>
          <select id="cid" name="cid">
			 <?php 
$sql = "select id,name from `th_news_class` order by ord desc,id";
echo $list = typeList('mod', $sql, $row['cid']);
?>
           </select>
          </td>
        </tr>
        <tr>
          <td class="left"><label for="title">Name:</label></td>
          <td>Chinese:
            <input type="text" name="title" id="title" value="<?php 
echo $row['title'];
?>
" />
            &nbsp;&nbsp;English:
            <input type="text" name="entitle" id="entitle" value="<?php 
echo $row['entitle'];
?>
Esempio n. 3
0
?>
>
<form>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="type">
  <tr>
    <td width="10%" class="left">No.</td>
    <td class="right">Chinese名称</td>
    <td class="right">English名称</td>
    <td class="right">Sequence&nbsp;&nbsp;(<a href="index.php">Refresh</a>)</td>
    <td width="8%" class="right"><p>Display or Not</p></td>
    <td class="right">Updated</td>
    <td width="10%" class="right">Operate</td>
  </tr>
<?php 
$sql = "select id,name,enname,dis,ord,uptime from `th_news_class` order by ord desc,id limit {$firstClassCount},{$eachDisClassNums}";
echo typeList('up', $sql);
?>
</table>
</form>
<form method="post" action="?act=add_class" id="add_class">
  Chinese:<input type="text" style="margin:0 0 12px 0" name="name" />
  English:<input type="text" style="margin:0 0 12px 0" name="enname" />
  <input type="button" class="add_class" value="添加主分类 ">
</form>
<div class="page">
<?php 
echo $classPageList;
?>
</div>
</div>
</div>
Esempio n. 4
0
    $api->setProtocol(false);
} else {
    $api->setProtocol(true);
}
switch ($action) {
    case 'domainList':
        domainList($api);
        break;
    case 'domainAdd':
        domainAdd($api);
        break;
    case 'domainDelete':
        domainDelete($api);
        break;
    case 'typeList':
        typeList($api);
        break;
    case 'nsList':
        nsList($api);
        break;
    case 'hostList':
        hostList($api);
        break;
    case 'hostDelete':
        hostDelete($api);
        break;
    case 'lineList':
        lineList($api);
        break;
    case 'regionList':
        regionList($api);