-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
70 lines (56 loc) · 2.06 KB
/
Copy pathmain.php
File metadata and controls
70 lines (56 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php if($my['admin']):?>
<?php include $g['path_layout'].$d['layout']['dir'].'/_cross/sidepanel.php'?>
<?php endif?>
<?php include $g['path_layout'].$d['layout']['dir'].'/_cross/header.php'?>
<section id="top">
<?php
$eletop = getDbData($table['laymeta'],'position="top" and page="'.$pageindex.'"','*');
if($eletop['d_regis']&&!$_themePage){
$elett = unserialize($eletop['value']);
include $g['path_layout'].$d['layout']['dir'].'/_cross/top/'.$elett['type'].'.php';
} else {
include $g['path_layout'].$d['layout']['dir'].'/_cross/top/breadcrumb.php';
}
?>
</section>
<?php if(!$_themePage):?>
<?php include $g['path_layout'].$d['layout']['dir'].'/_cross/elementpanel.php';?>
<?php endif?>
<div class="clearfix"></div>
<div id="wizes" data-page="<?php echo $pageindex?>">
<div class="container">
<div class="row">
<section class="sortable">
<?php if(!$_themePage):?>
<?php
echo $ppp;
$eleindex = getDbData($table['laymeta'],'position="index" and page="'.$pageindex.'"','*');
$eleindex = unserialize($eleindex['value']);
foreach($eleindex as $E) {
$ele = getDbData($table['laymeta'],'uid='.$E,'*');
$eleval = unserialize($ele['value']);
include $g['path_layout'].$d['layout']['dir'].'/_elements/'.$eleval['type'].'.php';
}
?>
<?php endif?>
</section>
<?php include __KIMS_CONTENT__?>
</div>
</div>
</div>
<?php if($my['admin']&&!$_themePage):?>
<div class="container">
<div class="row">
<div class="iconbar iconbar-horizontal pull-right elepostnav" style="margin-right:0px !important;padding-right:10px;">
<ul>
<li><a href="javascript:;" class="glyphicon glyphicon-remove-circle initele" data-toggle="tooltip" title="초기화"></a></li>
<li><a href="javascript:;" class="glyphicon glyphicon-floppy-disk savele" data-toggle="tooltip" title="저장"></a></li>
</ul>
</div>
</div>
</div>
<?php endif?>
<?php include $g['path_layout'].$d['layout']['dir'].'/_cross/footer.php'?>
<?php if($my['admin']):?>
<?php include $g['path_layout'].$d['layout']['dir'].'/_cross/forsetting.php'?>
<?php endif?>