require_once Chaincore body class php require_once Chaincore db class

  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
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<?
require_once('Chaincore/body.class.php');
require_once('Chaincore/db.class.php');
require_once('Chaincore/sys.class.php');
$title= new Body;
$title->SetTitle('Система управления предприятием');
$title->GetHeader();
if ($b == false) {
header('location: /account/join');
die();
}
?>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css">
<div class="col-md-12"> <div class="row">
<div class="col-xs-3">
<div class="card">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">equalizer</i>
</div>
<div class="card-content"><h4 class="card-title"> Продажи</h4>
<p><span class="dropcap text-info"></span>Продаж за день 47 </p>
<p><span class="dropcap text-info"></span>На сумму 50.000 </p>
</div></div>
<div class="card" style="margin-top:10px;">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">scatter_plot</i>
</div>
<div class="card-content">
<h4 class="card-title"> Реклама</h4>
<p><span class="dropcap text-info"></span>Активных каналов 4</p>
<p><span class="dropcap text-info"></span>В ожидании 2 </p>
<p><span class="dropcap text-info"></span>Бюджет 70.000 </p>
</div>
</div>
<div class="card" style="margin-top:10px;">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">description</i>
</div>
<div class="card-content">
<h4 class="card-title"> Эл.документ оборот</h4>
<p><span class="dropcap text-info"></span>Входящие 16</p>
<p><span class="dropcap text-info"></span>Исходящие 8 </p>
<p><span class="dropcap text-info"></span>На контроле 3 </p>
</div>
</div>
<!-- <section class="first"> <center> <div class="button" style="margin-top:-10px;">
<button class="ripplelink">Золотая кнопка</button>
<span class="ink inanimate" style="height: 150px; width: 149px; top: 10px; left: -44px;"></span>
</div></center>
</section> -->
</div>
<div class="col-xs-6"></br>
<!--
<div class="catSides">
<a href="#profile" data-toggle="tab"><i class="fa fa-award fa-lg" aria-hidden="true"></i> Цель "Заработать на дом в Дубае" </a>
<a id="new-cel" data-toggle="tab" style="float: right;"> Добавить <i class="material-icons" id="new-cel">add</i> </a>
</div>
<div class="car"style="margin-top:-1px;border-radius:-0px;">
<style>
.box-roadmap { background-color: #435966; }
.roadmap-list { display: inline-block; width: 100%; padding-bottom: 80px; }
.roadmap-list__item { display: inline-block; width: 16.66%; margin: 170px -4px 0 0; height: 2px; background: #ffffff; position: relative; }
.roadmap-list__item:first-child:before { position: absolute; height: 20px; width: 20px; border-radius: 50%; content: ""; display: block; top: -8px; left: -9px; border: 2px solid #fff; background-color: #332f47; }
.roadmap-list__item:after { position: absolute; height: 20px; width: 20px; border-radius: 50%; content: ""; display: block; top: -8px; right: -9px; border: 2px solid #fff; background-color: #332f47; z-index: 9; }
.roadmap-list__item:last-child:after { content: ""; display: block; background: url("../assets/images/icon-arrow-roadmap.png?v1.0") no-repeat; width: 12px; height: 18px; top: -8px; position: absolute; right: 0; border-radius: 0; border: none; }
.roadmap-list__item_finished { background: #3cb878; }
.roadmap-list__item_finished:after { border: 2px solid #3cb878; background-color: #3cb878; }
.roadmap-list__item_finished:first-child:before { border: 2px solid #3cb878; background-color: #3cb878; }
.roadmap-list__item_finished:last-child:after { background-image: url("../assets/images/icon-arrow-roadmap-green.png?v1.0"); }
.roadmap-list .roadmap-item-top { position: absolute; bottom: 23px; font-weight: 700; color: #fff; width: 100%; letter-spacing: 0.5px; line-height: 1.75; }
.roadmap-list .roadmap-item-top span { font-weight: 400; opacity: 0.5; display: block; font-style: italic; font-size: 14px; line-height: 1; }
.roadmap-list .roadmap-item-bottom { position: absolute; top: 16px; color: #fff; font-size: 14px; width: 100%; line-height: 1.75; letter-spacing: 0.5px; }
.roadmap-list .roadmap-item-bottom span { display: block; color: #f26c4f; font-style: italic; }
.roadmap-list .roadmap-item-bottom_large { font-size: 16px; }
.roadmap-list .roadmap-here { width: 16.66%; height: 2px; margin-left: -8.33%; margin-right: -8.33%; display: inline-block; position: relative; height: 160px; vertical-align: top; line-height: 65px; padding-bottom: 100px; }
.roadmap-list .roadmap-here span { font-size: 12px; color: #fff; display: inline-block; background: #3cb878; padding: 6px 18px; border-radius: 12px; position: relative; vertical-align: bottom; line-height: 1; letter-spacing: 0.5px; }
.roadmap-list .roadmap-here span:after { width: 30px; height: 84px; content: ""; display: block; background: url("../assets/images/icon-arrow-roadmap-here.png?v1.0") no-repeat; top: 100%; position: absolute; left: 50%; margin-left: -15px; }
.section-roadmap-info { background: #2b283c; position: relative; padding: 0 0 95px 0; }
.section-roadmap-info:before { content: ''; display: block; position: absolute; left: 50%; top: -21px; margin-left: -25px; width: 0px; height: 0px; border-style: solid; border-width: 0px 21px 21px 21px; border-color: transparent transparent #2b283c transparent; }
.section-roadmap-info .info-col { float: left; width: 50%; padding: 54px 0 0 0; }
.section-roadmap-info .info-col:last-child { padding-left: 65px; }
</style>
<div class="box-roadmap" id="roadmap">
<ul class="roadmap-list">
<li class="roadmap-list__item roadmap-list__item_finished" style="margin-left:-15px;margin-top:-35px;">
<div class="roadmap-item-top">Назв #0<span>Шаг 0</span></div>
<div class="roadmap-item-bottom">Инфо</div>
</li>
<li class="roadmap-list__item roadmap-list__item_finished">
<div class="roadmap-item-top">Назв #1<span>Шаг 1</span></div>
<div class="roadmap-item-bottom">Инфо</div>
</li>
<li class="roadmap-list__item roadmap-list__item_finished">
<div class="roadmap-item-top">Назв #2<span>Шаг 2</span></div>
<div class="roadmap-item-bottom">Инфо</div>
</li>
<li class="roadmap-here"><span>Вы здесь</span></li>
<li class="roadmap-list__item">
<div class="roadmap-item-top">Назв #3<span>Шаг 3</span></div>
<div class="roadmap-item-bottom roadmap-item-bottom_large">Инфо</div>
</li>
<li class="roadmap-list__item">
<div class="roadmap-item-top">Назв #4<span>Шаг 4</span></div>
<div class="roadmap-item-bottom">Инфо </div>
</li>
<li class="roadmap-list__item">
<div class="roadmap-item-top">Назв #5<span>Шаг 5</span></div>
<div class="roadmap-item-bottom">Инфо </div>
</li>
</ul>
</div>
</br>
<!-- <section class="first"> <center> <div class="button" style="margin-top:-10px;">
<button class="ripplelink">Золотая кнопка</button>
<span class="ink inanimate" style="height: 150px; width: 149px; top: 10px; left: -44px;"></span>
</div></center>
</section> после этого div если вернуть цель -->
<div class="catSides">
<a href="#profile" data-toggle="tab"><i class="material-icons">filter_list</i> План продаж 3 000 000 руб. </a>
<a href="#message" data-toggle="tab"><i class="fa fa-ruble-sign fa-lg" aria-hidden="true"></i> Задолженность перед нами 200 000 руб.</a>
<a id="show_calendar2" data-toggle="tab" style="float: right;">Февраль <i class="material-icons" id="show_calendar2">event</i></a>
</div>
<div class="card-header card-header-tabs" data-background-color="success" >
<div class="nav-tabs-navigation">
<div class="nav-tabs-wrapper">
<div class="card" style="margin-top:-0px;border-radius:-0px;">
<div style="margin-top:10px;"> </div>
<div class="progress progress-xl">
<div style="width: 70%;" class="progress-bar progress-bar-primary">Выручка 2 100 000</div>
<div style="width: 20%;" class="progress-bar progress-bar-warning">600 000 руб.</div>
</div>
<div class="progress progress-xl"><div style="width: 50%;" class="progress-bar progress-bar-warning">Расходы 500 000 руб.</div></div>
<div class="progress progress-xl"><div style="width: 60%;" class="progress-bar progress-bar-success">Прибыль 1 000 000 руб.</div></div>
<div class="progress progress-xl"><div style="width: 45%;" class="progress-bar progress-bar-warning">Налоги 750 000 руб.</div></div>
<div class="progress progress-xl"><div style="width: 30%;" class="progress-bar progress-bar-danger">Мы должны 50 00 руб.</div></div>
</div>
<div class="catSides" style="margin-top:-10px;">
<a href="#profile" data-toggle="tab"><i class="fa fa-ruble-sign fa-lg" aria-hidden="true"></i> Финансовое планирование </a>
<a id="show_calendar2" data-toggle="tab" style="float: right;">Февраль <i class="material-icons" id="show_calendar2">event</i></a>
</div>
<div class="card"style="margin-top:-0px;border-radius:-0px;"> </br>
<div id="bar-chart" style="width:100%; height:330px;"></div>
</div></div> </div>
</div>
</div>
<div class="col-xs-3">
<div class="card">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">receipt</i>
</div>
<div class="card-content">
<h4 class="card-title"> Задачи</h4>
<table class="table" style="margin-top:-20px;">
<tbody><?
//$list_code = DB::$dbs->query("SELECT * FROM `codes_code` WHERE `check` = ? ORDER BY RAND() DESC LIMIT 3", [1]);
$list_code = DB::$dbs->query("SELECT * FROM `codes_code` WHERE `check` = ? ORDER BY `time` DESC LIMIT 15", [0]);
while($list = $list_code -> fetch()) {
echo ' <tr><td><i class="material-icons">description</i></td>
<td>'.$list['name'].' ('.vr($list['time']).')</td>
<td class="td-actions text-right">
</td> </tr>';
}
?>
</tbody></table>
</div></div>
<div class="card" style="margin-top:10px;">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">event</i>
</div>
<div class="card-content">
<h4 class="card-title"> Календарь</h4>
<table class="table" style="margin-top:-20px;">
<tbody>
<tr><td><i class="material-icons">calendar_today</i>
</td>
<td>Встреча с инвестором (9 Июня 2020 в 06:24)</td>
<td class="td-actions text-right">
</td> </tr>
<tr><td><i class="material-icons">calendar_today</i>
</td>
<td>Встреча с партнером (19 Июня 2020 в 06:24)</td>
<td class="td-actions text-right">
</td> </tr>
</tbody></table>
</div> </div>
<div class="card" style="margin-top:10px;">
<div class="card-header card-header-icon" data-background-color="success" style="width:60px;height:60px;">
<i class="material-icons">record_voice_over</i>
</div>
<div class="card-content">
<h4 class="card-title"> Дни рождения</h4>
<table class="table" style="margin-top:-20px;">
<tbody>
<tr><td><i class="material-icons">calendar_today</i>
</td>
<td>Игорь Мартыненко (3 Ноября 2020 в 06:24)</td>
<td class="td-actions text-right">
</td> </tr>
<tr><td><i class="material-icons">calendar_today</i>
</td>
<td>Иван Колесников (5 Ноября 2020 в 06:24)</td>
<td class="td-actions text-right">
</td> </tr>
</tbody></table>
</div>
</div>
</div>
</div>
<?
$title->GetMenu();
$title->GetFooter();
?>