Beispiel #1
0
        $LANG_SQL = "cat.CONTENT_CAT_DESC_ENG AS CAT_DESC , content.CONTENT_DESC_ENG AS CONTENT_DESC , content.BRIEF_ENG AS BRIEF_LOC";
    }
}
?>
<div class="part-nav-main"  id="firstbox">
	<div class="container">
		<div class="box-nav">
			<ol class="cf">
				<li><a href="index.php"><img src="images/icon-home.png"/></a>&nbsp;&nbsp;&nbsp;>&nbsp;&nbsp;</li>
				<li><a href="other-system.php">ระบบอื่นๆ ที่เกี่ยวข้อง</a>&nbsp;&nbsp;&nbsp;>&nbsp;&nbsp;</li>
				<li><a href="km.php"><?php 
echo getModuleDescription($km_module_id);
?>
</a>&nbsp;&nbsp;&nbsp;>&nbsp;&nbsp;</li>
				<li class="active"><?php 
echo getCategoryDescription($CID);
?>
</li>
			</ol>
		</div>
	</div>
</div>

<div class="box-freespace"></div>

<div class="part-main">
	<div class="container cf">
		<div class="box-left main-content">
			<?php 
include 'inc/inc-left-content-km.php';
?>
                ?>
" href="javascript:;" class="btn btn-xs btn-info editbtn"><i class="fa fa-edit"></i></a>
					<a href="<?php 
                echo base_url(roleURIUser());
                ?>
/content/category/delete?id=<?php 
                echo $rChildView->term_id;
                ?>
" class="btn btn-xs btn-danger"><i class="fa fa-trash"></i></a>
				</td>
				<td>&#8212; <?php 
                echo $rChildView->name;
                ?>
</td>
				<td><?php 
                echo getCategoryDescription($rChildView->term_id);
                ?>
</td>
				<td><?php 
                echo $rChildView->slug;
                ?>
</td>				
			</tr>
			<?php 
            }
        }
    }
}
?>
</tbody>
</table>
Beispiel #3
0
        $dChild = getCategory($rParent->term_id);
        if (!empty($dChild)) {
            foreach ($dChild as $rChild) {
                $p .= '<option value="' . $rChild->term_id . '">&#8212; ' . $rChild->name . '</option>';
            }
        }
    }
}
echo $p;
?>
	</select>		
</div>
<div class="form-group">
	<label for="adddescription" style="cursor: pointer;">Deskripsi</label>
	<textarea name="editdescription" class="form-control" id="editdescription" rows="5"><?php 
echo getCategoryDescription($row->term_id);
?>
</textarea>
</div>
<button type="submit" class="btn btn-primary btn-flat btn-md">Simpan</button>
<?php 
echo form_close();
?>
<script>
$(document).ready(function(){
$("#editname").blur(function(){
	var g=$(this).val();
	if(g!=''){
		$.ajax({
			type:'get',
			dataType:'json',