Ejemplo n.º 1
0
include_once "includes/includes.php";
checkauthentication();
$session_name = "Kh41r4";
$p = @$_GET['p'];
$dekripsi = dekripsi($p);
$get = explode("&", $dekripsi);
$p = $get[0];
$errmsg = @$_SESSION['errmsg'];
$slevel = @$_SESSION['xlevel_' . $session_name];
$susername = @$_SESSION['xusername_' . $session_name];
$snama = @$_SESSION['xnama_' . $session_name];
$sunit = @$_SESSION['xunit_' . $session_name];
$title = get_title();
$version = get_version();
$copyright = get_copyright();
$q = ekstrak_get(@$get[1]);
$id = ekstrak_get(@$get[2]);
$NoSurat = ekstrak_get(@$get[3]);
$Perihal = ekstrak_get(@$get[4]);
$BeritaFlag = ekstrak_get(@$get[5]);
$StatusDisposisi = ekstrak_get(@$get[6]);
$kotaksuratlist = 27;
$xlevel = @$_SESSION['xlevel_' . $session_name];
$IdUser = @$_SESSION['xusername_' . $session_name];
$KdSatker = @$_SESSION['xunit_' . $session_name];
?>

<html id="minwidth">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Ejemplo n.º 2
0
        preg_match_all("/<pre class=\"brush:[^>]+>(.+?)<\\/pre>/s", $content, $matches, PREG_PATTERN_ORDER);
        for ($i = 0; $i < count($matches[1]); $i++) {
            $match = $matches[1][$i];
            $matchPre = $matches[0][$i];
            $lines = explode("\n", $match);
            $replacement = "";
            foreach ($lines as $line) {
                $replacement .= $line . "<br/>";
            }
            $replacement = str_replace("\t", "&nbsp;&nbsp;&nbsp;&nbsp;", $replacement);
            $replacement = "<p>" . $replacement . "</p>";
            $content = str_replace($matchPre, $replacement, $content);
        }
        $content .= "<br /><p><small><i>" . get_the_tag_list('Post Tags: ', ', ', '') . "</i></small>";
        $content .= "<hr /><center><small>" . get_cc_copyright();
        $content .= "<br />" . get_copyright() . "</small></center></p>";
        $content = str_replace("&", "&amp;", $content);
        $content = str_replace('>', '&gt;', $content);
        $content = str_replace('<', '&lt;', $content);
        $content = str_replace('&nbsp;', '&#160;', $content);
        echo $content;
        ?>
		</description>
<?php 
    }
    ?>
		<wfw:commentRss><?php 
    echo esc_url(get_post_comments_feed_link(null, 'rss2'));
    ?>
</wfw:commentRss>
		<slash:comments><?php 
Ejemplo n.º 3
0
function display_edit_form($objid, $object_general, $object_rights, $object_lifecycle, $object_tech)
{
    echo $object_general['title'];
    ?>
  <form method="post" action="edit_this_metadata.php">
  <table>
    <tr>
      <td>Hidden:</td>
      <td><input type="hidden" name="objid" value="<?php 
    echo $objid;
    ?>
" /></td></tr>
    <tr>
      <td>Title:</td>
      <td><input type="text" name="newtitle" value="<?php 
    echo $object_general['title'];
    ?>
" /></td></tr>
    <tr>
      <td>Author:</td>
      <td><input type="text" name="newauthor" value="<?php 
    echo $object_general['author'];
    ?>
"/></td></tr>
     <tr>
              <td>Discipline</td>
              <td valign="top">
                <select name="newdiscipline" size="1">
                  <?php 
    $disc_array = get_discipline();
    foreach ($disc_array as $thisdisc) {
        echo "<option value=\"" . $thisdisc['discname'] . "\"";
        if ($thisdisc['discname'] == $object_general['discipline']) {
            echo "selected";
        }
        echo ">" . $thisdisc['discname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>
         <tr>
              <td>Language</td>
              <td valign="top">
                <select name="newlanguage" size="1">
                  <?php 
    $lang_array = get_language();
    foreach ($lang_array as $thislang) {
        echo "<option value=\"" . $thislang['langname'] . "\"";
        if ($thislang['langname'] == $object_general['language']) {
            echo "selected";
        }
        echo ">" . $thislang['langname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>
    <tr>
      <td>Keyword:</td>
      <td><input type="text" name="newkeyword" value="<?php 
    echo $object_general['keyword'];
    ?>
" /></td></tr> 
    <tr>
              <td>Structure</td>
              <td valign="top">
                <select name="newstructure" size="1">
                  <?php 
    $struct_array = get_structure();
    foreach ($struct_array as $thisstruct) {
        echo "<option value=\"" . $thisstruct['structname'] . "\"";
        if ($thisstruct['structname'] == $object_general['structure']) {
            echo "selected";
        }
        echo ">" . $thisstruct['structname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>
     <tr>
              <td>Aggregation Level</td>
              <td valign="top">
                <select name="newaggrelvl" size="1">
                  <?php 
    $aggrelvl_array = get_aggrelvl();
    foreach ($aggrelvl_array as $thisaggrelvl) {
        echo "<option value=\"" . $thisaggrelvl['aggrelvlname'] . "\"";
        if ($thisaggrelvl['aggrelvlname'] == $object_general['aggregation_level']) {
            echo "selected";
        }
        echo ">" . $thisaggrelvl['aggrelvlname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>
    <tr>
      <td>Version:</td>
      <td><input type="text" name="newversion" value="<?php 
    echo $object_lifecycle['version'];
    ?>
" /></td></tr>
     <tr>
              <td>Status</td>
              <td valign="top">
                <select name="newstatus" size="1">
                  <?php 
    $status_array = get_status();
    foreach ($status_array as $thisstatus) {
        echo "<option value=\"" . $thisstatus['statusname'] . "\"";
        if ($thisstatus['statusname'] == $object_lifecycle['status']) {
            echo "selected";
        }
        echo ">" . $thisstatus['statusname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr> 
    <tr>
              <td>Interactivity Type</td>
              <td valign="top">
                <select name="newinteracttype" size="1">
                  <?php 
    $intertype_array = get_intertype();
    foreach ($intertype_array as $thisintertype) {
        echo "<option value=\"" . $thisintertype['intertypename'] . "\"";
        if ($thisintertype['intertypename'] == $object_general['interactivity_type']) {
            echo "selected";
        }
        echo ">" . $thisintertype['intertypename'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>            
    <tr>
              <td>Learning Resource Type</td>
              <td valign="top">
                <select name="newresourcetype" size="1">
                  <?php 
    $resourcetype_array = get_resourcetype();
    foreach ($resourcetype_array as $thisresourcetype) {
        echo "<option value=\"" . $thisresourcetype['resourcetypename'] . "\"";
        if ($thisresourcetype['resourcetypename'] == $object_general['learning_res_type']) {
            echo "selected";
        }
        echo ">" . $thisresourcetype['resourcetypename'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>    
   <tr>
              <td>Interactivity Level</td>
              <td valign="top">
                <select name="newinteractlvl" size="1">
                  <?php 
    $interactlvl_array = get_interactlvl();
    foreach ($interactlvl_array as $thisinteractlvl) {
        echo "<option value=\"" . $thisinteractlvl['interactlvlname'] . "\"";
        if ($thisinteractlvl['interactlvlname'] == $object_general['interactivity_level']) {
            echo "selected";
        }
        echo ">" . $thisinteractlvl['interactlvlname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>    
   <tr>
              <td>Intended End User Role</td>
              <td valign="top">
                <select name="newenduserrole" size="1">
                  <?php 
    $enduserrole_array = get_enduserrole();
    foreach ($enduserrole_array as $thisenduserrole) {
        echo "<option value=\"" . $thisenduserrole['enduserrolename'] . "\"";
        if ($thisenduserrole['enduserrolename'] == $object_general['intended_end_user_role']) {
            echo "selected";
        }
        echo ">" . $thisenduserrole['enduserrolename'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>
   <tr>
      <td>Typical Learning Time:</td>
      <td><input type="text" name="newlearningtime" value="<?php 
    echo $object_general['typical_learning_time'];
    ?>
" /></td></tr>        
   <tr>
              <td>Cost</td>
              <td valign="top">
                <select name="newcost" size="1">
                  <?php 
    $cost_array = get_cost();
    foreach ($cost_array as $thiscost) {
        echo "<option value=\"" . $thiscost['costname'] . "\"";
        if ($thiscost['costname'] == $object_rights['cost']) {
            echo "selected";
        }
        echo ">" . $thiscost['costname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr>  
   <tr>
              <td>Copyrights and Other Restrictions</td>
              <td valign="top">
                <select name="newcopyright" size="1">
                  <?php 
    $copyright_array = get_copyright();
    foreach ($copyright_array as $thiscopyright) {
        echo "<option value=\"" . $thiscopyright['copyrightname'] . "\"";
        if ($thiscopyright['copyrightname'] == $object_rights['copyrights_and_other_res']) {
            echo "selected";
        }
        echo ">" . $thiscopyright['copyrightname'] . "</option>";
    }
    ?>
                  </select>
              </td></tr> 
                                             
   </table>
   <div class="page-header">
   <p></p>
   </div>
   <button class="btn btn-primary" type="submit">Update Object</button>
   </form>
   
   
 <?php 
}
Ejemplo n.º 4
0
<div id="footer">
    <div class="footText">
    	<p> <?php 
echo get_copyright();
?>
 | <a href="<?php 
bloginfo('rss2_url');
?>
">文章 (RSS)</a> &amp; <a href="<?php 
bloginfo('comments_rss2_url');
?>
">评论 (RSS)</a></p>
    </div>
</div>
<?php 
wp_footer();
?>
</body>
</html>
Ejemplo n.º 5
0
    <footer id="footer">

        <span><?php 
echo get_copyright('2015');
?>
</span>

        <ul class="f-menu">
            <li><a href="<?php 
echo base_url('dashboard');
?>
">Dashboard</a></li>
            <li><a href="http://www.awwits.info" target="_blank">Support</a></li>
            <li><a href="mailto:info@awwits.info">Contact</a></li>
        </ul>

        <!-- Global JS Files -->
        <script src="<?php 
echo base_url('assets/vendors/jquery/dist/jquery.min.js');
?>
"></script>
        <script src="<?php 
echo base_url('assets/vendors/jquery.nicescroll/dist/jquery.nicescroll.min.js');
?>
"></script>
        <script src="<?php 
echo base_url('assets/vendors/bootstrap/dist/js/bootstrap.min.js');
?>
"></script>
        <script src="<?php 
echo base_url('assets/vendors/bootstrap-sweetalert/lib/sweet-alert.min.js');
        ?>
px">
															<img src="<?php 
        echo $thumb;
        ?>
" alt="<?php 
        echo $alt;
        ?>
" width="<?php 
        echo $width;
        ?>
" height="<?php 
        echo $height;
        ?>
"  title="<?php 
        echo get_copyright($image['id']);
        ?>
" />
														</div>
													</a>
													<br />
													<strong><?php 
        the_title();
        ?>
</strong>
													<?php 
        the_content();
        ?>
												</div>
											</div>
											<?php 
 /**
  * Copyright text
  */
 public static function copyright()
 {
     echo get_copyright();
 }