Beispiel #1
0
<?php

$config = new Config();
$ne = new NewsAndEvent();
$news = $ne->getNEList('news');
$events = $ne->getNEList('event');
$client = new Clients();
$clients = $client->getClinets();
$sponcer = new Sponcer();
$sponcers = $sponcer->getSponcer('sponcer-girl');
$pm = new PageManager();
?>
<!-- Start main-content -->
    <div class="main-content">
        <!-- Section: home -->
		<section>
            <div class="container pb-0">
                <div class="section-title text-center mb-0">
                    <div class="row">
                        <div class="col-md-12">
                            <h3 class="text-uppercase mt-0">WomenLine</h3>
                            <div class="title-icon">
                                <i class="flaticon-hand221"></i>
                            </div>
                           		<div class="col-lg-10 col-md-9 col-sm-6 text-left">
                           			<p><?php 
echo substr(strip_tags($pm->setPage('introduction')->getPageInfo('page-content')), 0, 250);
?>
...</p>
                           		</div>
                           		<div class="col-lg-2 col-md-3 col-sm-6">
<?php

$config = new Config();
$url = new URL();
$obj = new Clients();
$item_list = $obj->getClinets();
$id = $url->getRequestedItem();
echo Comman::loadView('admin-header');
if ($url->getRequestedFunction() != 'edit') {
    ?>
<div class="container">
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<div class="panel">
				<div class="panel-heading">
					<div class="panel-title">Add Partner</div>
				</div>
				<div class="panel-body">
                	<form action="<?php 
    echo Comman::getController('clients');
    ?>
?action=create" method="post">
	                	<label for="name">Name</label>
	                    <input type="text" required name="name" id="name" placeholder="Name" class="form-control">
	                    <input type="hidden" name="return_path" value="<?php 
    echo $url->getRequestedUri();
    ?>
/edit/">
	                    <button type="submit" class="btn btn-primary" style="margin-top: 10px;">Add</button>
                    </form>
            	</div>