?>
" style="width: 250px"/></td>
      </tr>
      <tr>
        <td><strong>Agama</strong></td>
        <td style="padding: 2px"><select style="width: 254px" id="kAgama" name="kAgama">
            <?php 
echo printOptions($M_AGAMA, $content['kAgama']);
?>
          </select></td>
      </tr>
      <tr>
        <td><strong>Status Perkawinan</strong></td>
        <td style="padding: 2px"><select style="width: 254px" id="kKawin" name="kKawin">
            <?php 
echo printOptions($M_KAWIN, $content['kKawin']);
?>
          </select></td>
      </tr>
      <tr>
        <td><strong>Alamat Asal</strong></td>
        <td style="padding: 2px"><textarea name="alamat" id="alamat" style="width: 250px"><?php 
echo $content['alamat'];
?>
</textarea></td>
      </tr>
      <tr>
        <td><strong>Pekerjaan</strong></td>
        <td style="padding: 2px"><input name="pekerjaan" type="text" id="pekerjaan" value="<?php 
echo $content['pekerjaan'];
?>
    ?>
      <tr>
        <td>&nbsp;</td>
        <td style="padding-bottom: 5px" class="errors"><?php 
    echo $errorCode;
    ?>
</td>
      </tr>
      <?php 
}
?>
      <tr>
        <td><strong>Jenis Statistik</strong></td>
        <td style="padding-right: 5px"><select style="width: 254px" id="kStat" name="kStat">
              <?php 
echo printOptions($M_STAT, $kStat);
?>
            </select></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td style="padding-top: 10px"><input class="formbutton" type="submit" name="next" id="next" value="TAMPILKAN &raquo;"/></td>
      </tr>
    </table>
    <input type="hidden" name="next" value="true"/>
  </div>

<?php 
if ($stat) {
    $total = 0;
    ?>
echo $content['namaOrtu'];
?>
" style="width: 250px"/><div id="autocomplete_namaOrtu" class="autocomplete"></div></td>
    </tr>
    <tr>
      <td><strong>Umur</strong></td>
      <td style="padding: 2px"><input name="umurOrtu" type="text" id="umurOrtu" value="<?php 
echo $content['umurOrtu'];
?>
" style="width: 250px"/></td>
    </tr>
    <tr>
      <td><strong>Agama</strong></td>
<td style="padding: 2px"><select style="width: 254px" id="kAgamaOrtu" name="kAgamaOrtu">
              <?php 
echo printOptions($M_AGAMA, $content['kAgamaOrtu']);
?>
            </select></td>
    </tr>
    <tr>
      <td><strong>Kebangsaan</strong></td>
      <td style="padding: 2px"><input name="wargaNegaraOrtu" type="text" id="wargaNegaraOrtu" value="<?php 
echo $content['wargaNegaraOrtu'];
?>
" style="width: 250px"/></td>
    </tr>
    <tr>
      <td><strong>Pekerjaan</strong></td>
      <td style="padding: 2px"><input name="pekerjaanOrtu" type="text" id="pekerjaanOrtu" value="<?php 
echo $content['pekerjaanOrtu'];
?>
Exemple #4
0
        }
    }
    $allExistingSites = array_unique($allExistingSites);
    natcasesort($allExistingSites);
    $allExistingSlots = array_unique($allExistingSlots);
    natcasesort($allExistingSlots);
    if (count($allExistingSites) && count($allExistingSlots)) {
        printc("Copy Site: ");
        printc("\n\t\t\t\t\t\t\t\t<select name='origname'>");
        printc("\n\t\t\t\t\t\t\t\t\t<option value=''>-choose-</option>");
        printOptions($allExistingSites);
        printc("\n\t\t\t\t\t\t\t\t</select>");
        printc(" to ");
        printc("\n\t\t\t\t\t\t\t\t<select name='newname'>");
        printc("\n\t\t\t\t\t\t\t\t\t<option value=''>-choose-</option>");
        printOptions($allExistingSlots);
        printc("\n\t\t\t\t\t\t\t\t</select>");
        /*			printc(" Clear Permissions: <input type='checkbox' name='clearpermissions' value='1' checked='checked'/>"); */
        printc("\n\t\t\t\t\t\t\t\t Copy discussion posts: <input type='checkbox' name='copy_discussions' value='1' checked='checked'/>");
        printc("\n\t\t\t\t\t\t\t\t <input type='submit' name='copysite' value='Copy' class='button' />");
    }
    printc("\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td align='right'>");
    if ($_SESSION[amethod] == 'db' || $_SESSION[lmethod] == 'db') {
        printc("<a href='passwd.php?{$sid}&amp;action=change' target='password' onclick='doWindow(\"password\",400,300)'>change password</a>");
    }
    printc("</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</table>\n\t\t\t\t</form>\n\t\t\t</td>\n\t\t</tr>");
    printc("\n\t</table>");
    printc("\n</form>");
} else {
    //add_link(leftnav,"Home","index.php?$sid","","");
    //add_link(leftnav,"Personal Site List<br />","index.php?$sid&amp;action=list","","");
<?php

if (isset($_GET['id'])) {
    $id = $_GET['id'];
}
?>

<div class="card">
	<form id='patch' action='./?api=patch' method='post'>
		<input id='id' name='id' type='hidden' value='<?php 
echo $id;
?>
'>

<?php 
$compatiblexmls = getCompatibleXML($id);
printOptions($compatiblexmls);
?>
	</form>
</div>
Exemple #6
0
  <div class="table-region">
    <table class="data" border="0" cellspacing="0" width="100%">
    <tr>
        <td colspan="2">jumlah : <?php 
echo $result["numRows"];
?>
</td>
        <td colspan="2">Jenis Surat : <select id="kSurat" name="kSurat" onchange="submit()">
            <?php 
echo printOptions($kTipeSuratOption, $kSurat);
?>
            </select></td>
        <td colspan="2" align="right">halaman :
            <select id="page" name="page" onchange="submit()">
            <?php 
echo printOptions($pageOptions, $page);
?>
            </select></td>
     </tr>      
      <tr>
      	<th>NO</th>
        <th>JENIS SURAT</th>
        <th>NO SURAT</th>
        <th>TANGGAL</th>
        <th>PEMBUAT</th>
        <th>&nbsp;</th>
      </tr>
<?php 
for ($i = 0; $i < count($result["content"]); $i++) {
    ?>
      <tr>
echo $content['tglLahirIjin'];
?>
" style="width: 250px"/></td>
    </tr>
    <tr>
      <td><strong>Jenis Kelamin</strong></td>
      <td style="padding: 2px"><input name="kelaminIjin" type="text" id="kelaminIjin" value="<?php 
echo $content['kelaminIjin'];
?>
" style="width: 250px"/></td>
    </tr>
    <tr>
      <td><strong>Agama</strong></td>
<td style="padding: 2px"><select style="width: 254px" id="kAgamaIjin" name="kAgamaIjin">
              <?php 
echo printOptions($M_AGAMA, $content['kAgamaIjin']);
?>
            </select></td>
    </tr>
    <tr>
      <td><strong>Pekerjaan</strong></td>
      <td style="padding: 2px"><input name="pekerjaanIjin" type="text" id="pekerjaanIjin" value="<?php 
echo $content['pekerjaanIjin'];
?>
" style="width: 250px"/></td>
    </tr>
    <tr>
      <td><strong>Alamat</strong></td>
      <td style="padding: 2px"><textarea name="alamatIjin" id="alamatIjin" style="width: 250px"><?php 
echo $content['alamatIjin'];
?>
Exemple #8
0
              
            </div>
          </section>
          </div>
          
          <div class="col-xs-6">
          <h3 class="form-legend">Genre</h3>
          <section class="form-group">
            <div class="col-xs-12 text-justify">
              <div class="form-group" style="display:none;">
                <label for="genre" class="control-label col-xs-2"><button type="button" class="close hide pull-left">x</button>Genre</label>
                <div class="col-xs-10">
                  <select class="form-control" id="genre" name="genre[]">
                  <option selected=""></option>
                    <?php 
    printOptions($genresArray);
    ?>
                  </select>
                </div>
              </div>

              <div class="form-group">
                <div class="col-xs-11">
                  <button type="button" class="btn btn-default pull-left" id="addGenreButton">Add a Genre</button>
                  <button type="button" data-toggle="modal" data-target="#genreModal" class="btn-default pull-right">?</button>
                </div>
              </div>
              
              <div id="genreModal" class="modal fade" role="dialog">
              <div class="modal-dialog modal-md">
                <div class="modal-content">
                             echo '<div style="min-height: 22px; display: block; text-align: right; padding-right: 20px; width:' . $total / $cnt * 20 . '%; background-color: rgb(43,194,83);">';
                             echo '</div>';
                             echo '</div>';
                             echo "</td>";
                             echo "</tr>";
                         }
                     }
                     echo "</table>";
                     echo '<div style="width:100%; color: gray; text-align:right"> Number of votes: ' . $cnt . '</div>';
                 } else {
                     /* The User has not evaluated his peers yet. */
                     foreach ($members as $member) {
                         $memberObj = new User($member);
                         if (!$memberObj->isInstructor()) {
                             /* Do not print the instructor */
                             printOptions($question["type"], $question["id"], $member, $_POST[$question["id"] . "_" . $member]);
                         }
                     }
                 }
                 echo "</div>";
             }
         }
         if (!$user->isInstructor()) {
             echo '<br/> <input class="btn btn-primary submitbtn" type="submit" value="Submit"> <br/> <br/>';
         }
         echo '</form>';
         if ($category == 'M') {
             echo '</div>';
         }
     }
 }
Exemple #10
0
?>
                      </select></td>
                  </tr>
                  <tr>
                    <td><strong>Status Perkawinan </strong></td>
                    <td style="padding: 2px"><select style="width: 254px" id="kKawin" name="kKawin">
                        <?php 
echo printOptions($M_KAWIN, $kKawin);
?>
                      </select></td>
                  </tr>
                  <tr>
                    <td><strong>Pendidikan</strong></td>
                    <td style="padding: 2px"><select style="width: 254px" id="kPendidikan" name="kPendidikan">
                        <?php 
echo printOptions($M_PENDIDIDKAN, $kPendidikan);
?>
                      </select></td>
                  </tr>
                </tbody>
                <tbody id="dPendidikan" style="display:none;">
                  <tr>
                    <td><strong>Pendidikan</strong></td>
                    <td style="padding: 2px"><input type="text" id="pendidikan" name="pendidikan" value="<?php 
echo htmlentities($pendidikan);
?>
" style="width: 250px"/></td>
                  </tr>
                </tbody>
                <tbody>
                  <tr>