Ejemplo n.º 1
0
    die("Error");
}
?>
<section class="content-header">
  <h1><i class='fa fa-newspaper-o'></i> NEWS - JAP
  <small>#<?php 
echo $r['nid'];
?>
</small>
  </h1>
</section>

<section class="content">
<?php 
$htm = [];
$htm[] = $VORC->process_jp($r['newsbody']);
//$htm[]="<i class='text-muted'>".$r['newsbody']."</i>";
$htm[] = '<div class="form-horizontal">';
$htm[] = '<hr />';
// flag_wiki //
$htm[] = '<div class="form-group">';
$htm[] = '<label class="col-sm-2 control-label">flag_wiki</label>';
$htm[] = '<div class="col-sm-10">';
$htm[] = '<input type="text" class="form-control" id="category" placeholder="flag_wiki" value="' . $r['flag_wiki'] . '" readonly>';
$htm[] = '</div></div>';
// URL //
$htm[] = '<div class="form-group">';
$htm[] = '<label class="col-sm-2 control-label">URL</label>';
$htm[] = '<div class="col-sm-10">';
$htm[] = '<input type="text" class="form-control" id="url" placeholder="URL" value="' . $r['url'] . '" readonly>';
$htm[] = '</div></div>';
Ejemplo n.º 2
0
id	varchar(14)
name_wikipage	text	
name_alias	tinytext	
lastupdate	varchar(14)	
contents	mediumtext	
flag_public	tinyint(4)			
flag_freeze	tinyint(4)			
flag_category	tinytext	
user_created	tinytext	
user_modified	tinytext	
flag_platform	tinytext	
flag_system	tinyint(1)
ex_url
*/
$htm = [];
$htm[] = $VORC->process_jp($r['contents']);
// category
//$htm[]="<div class=row><div class='col-md-12'><input type=text class='form-control' placeholder='Category' ></div></div>";
$htm[] = '<div class="form-horizontal">';
// Categ //
$htm[] = '<hr />';
$htm[] = '<div class="form-group">';
$htm[] = '<label class="col-sm-2 control-label">Category</label>';
$htm[] = '<div class="col-sm-10">';
$htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $r['flag_category'] . '" readonly>';
$htm[] = '</div></div>';
// Platform //
$htm[] = '<div class="form-group">';
$htm[] = '<label class="col-sm-2 control-label">Platform</label>';
$htm[] = '<div class="col-sm-10">';
$htm[] = '<input type="text" class="form-control" id="platform" placeholder="Platform" value="' . $r['flag_platform'] . '" readonly>';