new blog page

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-03 18:46:18 -04:00
parent a613e84eaf
commit e39caad4d5
94 changed files with 329 additions and 5 deletions
+2
View File
@@ -41,6 +41,8 @@ $routes->post('/startproject', 'Projects::start');
$routes->get('/projects/dash', 'ProjectPages::projectView');
$routes->get('/projects/details/(:segment)', 'ProjectPages::projectDetails/$1');
$routes->get('/projects/blogs', 'ProjectPages::blogView');
$routes->get('/projects/logout', 'ProjectPages::logOut');
+12
View File
@@ -44,6 +44,18 @@ class ProjectPages extends ProjectBaseController
return view('projects/projdetail',$data);
}
public function blogView()
{
$data=[];
$projData = new \App\Models\projectData();
$resDet = $projData->projectListDetails();
$resDocument = $projData->documentList();
$data['project_list'] = $projData->projectBlogList();
return view('projects/blogsites',$data);
}
public function logOut(){
log_message('critical', "Logout Projects-Entered 2" );
$segments = ['/projects/'];
+53 -3
View File
@@ -777,8 +777,6 @@ class projectData extends baseModel
];
return $data;
}
public function documentList(){
$data =[
'myfit'=>[
@@ -889,7 +887,59 @@ class projectData extends baseModel
return $data;
}
public function projectBlogList(){
$data =[
'wrenchboard'=>[
'name' => 'WrenchBoard Blog',
'description' => 'Get engaged and make money from any skills',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https://blog.wrenchboard.com',
],
'coregrade'=>[
'name' => 'CoreGrade Blog',
'description' => 'Smart education platform - personal and institutions',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https://blog.coregrade.com',
],
'float'=>[
'name' => 'Float BLOG',
'description' => 'This is the description of the project',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https://blog.float.sg',
],
'dorcastore'=>[
'name' => 'DorcaStore',
'description' => 'This is the description of the project',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https"//www.dorcastore.com',
],
'merms'=>[
'name' => 'Merms BLOG',
'description' => 'This is the description of the project',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https://blog.mermsemr.com',
],
'chiefsoft'=>[
'name' => 'ChiefSoft Blog',
'description' => 'This is the description of the project',
'banner_image' => 'chiefsoft.jpg',
'product_url' => 'https://blog.chiefsoft.com',
],
'jubabox'=>[
'name' => 'JubaBox',
'description' => 'This is the description of the project',
'banner_image' => 'project_banner.jpg',
'product_url' => 'https://blog.jubabox.com',
],
'theblackfaces'=>[
'name' => 'Black Faces',
'description' => 'African History Short Story Blog',
'banner_image' => 'theblackfaces.jpg',
'product_url' => 'https://www.theblackfaces.com',
],
];
return $data;
}
}
+198
View File
@@ -0,0 +1,198 @@
<?= $this->extend('projects/projects_template') ?>
<?= $this->section('content') ?>
<!--begin::Content wrapper-->
<div class="d-flex flex-column flex-column-fluid">
<!--begin::Toolbar-->
<div id="kt_app_toolbar" class="app-toolbar py-3 py-lg-6">
<!--begin::Toolbar container-->
<div id="kt_app_toolbar_container" class="app-container container-fluid d-flex flex-stack">
<!--begin::Page title-->
<div class="page-title d-flex flex-column justify-content-center flex-wrap me-3">
<!--begin::Title-->
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0">Blog Sites</h1>
<!--end::Title-->
<!--begin::Breadcrumb-->
<ul class="breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0 pt-1">
<!--begin::Item-->
<li class="breadcrumb-item text-muted">
<a href="/projects/dash" class="text-muted text-hover-primary">Home</a>
</li>
<!--end::Item-->
<!--begin::Item-->
<li class="breadcrumb-item">
<span class="bullet bg-gray-400 w-5px h-2px"></span>
</li>
<!--end::Item-->
<!--begin::Item-->
<li class="breadcrumb-item text-muted">Blogs</li>
<!--end::Item-->
</ul>
<!--end::Breadcrumb-->
</div>
<!--end::Page title-->
<!--begin::Actions-->
<div class="d-flex align-items-center gap-2 gap-lg-3">
.
</div>
<!--end::Actions-->
</div>
<!--end::Toolbar container-->
</div>
<!--end::Toolbar-->
<!--begin::Content-->
<div id="kt_app_content" class="app-content flex-column-fluid">
<!--begin::Content container-->
<div id="kt_app_content_container" class="app-container container-fluid">
<!--begin::Row-->
<div class="row g-5 g-xl-10 mb-5 mb-xl-10">
<?php
foreach ($project_list as $key => $value) {
// $arr[3] will be updated with each value from $arr...
//echo "{$key} => {$value} ";
//print_r($value->name);
?>
<!--begin::Col-->
<div class="col-xxl-6">
<!--begin::Card widget 18-->
<div class="card card-flush h-xl-100">
<!--begin::Body-->
<div class="card-body py-9">
<!--begin::Row-->
<div class="row gx-9 h-100">
<!--begin::Col-->
<div class="col-sm-6 mb-10 mb-sm-0">
<!--begin::Image-->
<div class="bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-400px min-h-sm-100 h-100" style="background-size: 100% 100%;background-image:url('/massets/img/banners-600x600/<?=$value['banner_image']?>')"></div>
<!--end::Image-->
</div>
<!--end::Col-->
<!--begin::Col-->
<div class="col-sm-6">
<!--begin::Wrapper-->
<div class="d-flex flex-column h-100">
<!--begin::Header-->
<div class="mb-7">
<!--begin::Headin-->
<div class="d-flex flex-stack mb-6">
<!--begin::Title-->
<div class="flex-shrink-0 me-5">
<span class="text-gray-400 fs-7 fw-bold me-2 d-block lh-1 pb-1"><?=$key?></span>
<span class="text-gray-800 fs-1 fw-bold"><?=$value['name']?></span>
</div>
<!--end::Title-->
<span class="badge badge-light-primary flex-shrink-0 align-self-center py-3 px-4 fs-7">Active</span>
</div>
<!--end::Heading-->
<!--begin::Items-->
<div class="d-flex align-items-center flex-wrap d-grid gap-2">
<!--begin::Item-->
<div class="d-flex align-items-center me-5 me-xl-13">
<!--begin::Symbol-->
<div class="symbol symbol-30px symbol-circle me-3">
<img src="/massets/media/avatars/300-3.jpg" class="" alt="" />
</div>
<!--end::Symbol-->
<!--begin::Info-->
<div class="m-0">
<span class="fw-semibold text-gray-400 d-block fs-8">Manager</span>
<a href="#" class="fw-bold text-gray-800 text-hover-primary fs-7">ChiefSoft Works</a>
</div>
<!--end::Info-->
</div>
<!--end::Item-->
<!--begin::Item-->
<div class="d-flex align-items-center">
<!--begin::Symbol-->
<!-- <div class="symbol symbol-30px symbol-circle me-3">-->
<!-- <span class="symbol-label bg-success">-->
<!-- <i class="ki-duotone ki-abstract-41 fs-5 text-white">-->
<!-- <span class="path1"></span>-->
<!-- <span class="path2"></span>-->
<!-- </i>-->
<!-- </span>-->
<!-- </div>-->
<!-- <!--end::Symbol-->
<!-- <!--begin::Info-->
<!-- <div class="m-0">-->
<!-- <span class="fw-semibold text-gray-400 d-block fs-8">Budget</span>-->
<!-- <span class="fw-bold text-gray-800 fs-7">$64.800</span>-->
<!-- </div>-->
<!--end::Info-->
</div>
<!--end::Item-->
</div>
<!--end::Items-->
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="mb-6">
<!--begin::Text-->
<span class="fw-semibold text-gray-600 fs-6 mb-8 d-block"><?=$value['description']?></span>
<!--end::Text-->
<!--begin::Stats-->
<div class="d-flex">
<!--begin::Stat-->
<div class="border border-gray-300 border-dashed rounded min-w-100px w-100 py-2 px-4 me-6 mb-3">
<!--begin::Date-->
<span class="fs-6 text-gray-700 fw-bold">May 6, 2023</span>
<!--end::Date-->
<!--begin::Label-->
<div class="fw-semibold text-gray-400">Estimated Due Date</div>
<!--end::Label-->
</div>
<!--end::Stat-->
</div>
<!--end::Stats-->
</div>
<!--end::Body-->
<!--begin::Footer-->
<div class="d-flex flex-stack mt-auto bd-highlight">
<!--begin::Users group-->
<div class="symbol-group symbol-hover flex-nowrap">
<!-- <div class="symbol symbol-35px symbol-circle" data-bs-toggle="tooltip" title="Melody Macy">-->
<!-- <img alt="Pic" src="/massets/media/avatars/300-2.jpg" />-->
<!-- </div>-->
<!-- <div class="symbol symbol-35px symbol-circle" data-bs-toggle="tooltip" title="Michael Eberon">-->
<!-- <img alt="Pic" src="/massets/media/avatars/300-3.jpg" />-->
<!-- </div>-->
<!-- <div class="symbol symbol-35px symbol-circle" data-bs-toggle="tooltip" title="Susan Redwood">-->
<!-- <span class="symbol-label bg-primary text-inverse-primary fw-bold">S</span>-->
<!-- </div>-->
</div>
<!--end::Users group-->
<!--begin::Actions-->
<a href="<?=$value['product_url']?>" target="_blank" class="d-flex align-items-center text-primary opacity-75-hover fs-6 fw-semibold">View Project
<i class="ki-duotone ki-exit-right-corner fs-4 ms-1">
<span class="path1"></span>
<span class="path2"></span>
</i></a>
<!--end::Actions-->
</div>
<!--end::Footer-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Col-->
</div>
<!--end::Row-->
</div>
<!--end::Body-->
</div>
<!--end::Card widget 18-->
</div>
<!--end::Col-->
<?php
}
?>
</div>
<!--end::Row-->
</div>
<!--end::Content container-->
</div>
<!--end::Content-->
</div>
<!--end::Content wrapper-->
<?= $this->endSection() ?>
+2 -2
View File
@@ -344,7 +344,7 @@
<!--begin::Col-->
<div class="col-sm-6 mb-10 mb-sm-0">
<!--begin::Image-->
<div class="bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-400px min-h-sm-100 h-100" style="background-size: 100% 100%;background-image:url('/massets/media/stock/600x600/img-65.jpg')"></div>
<div class="bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-400px min-h-sm-100 h-100" style="background-size: 100% 100%;background-image:url('/massets/img/banners-600x600/<?=$value['banner_image']?>')"></div>
<!--end::Image-->
</div>
<!--end::Col-->
@@ -377,7 +377,7 @@
<!--begin::Info-->
<div class="m-0">
<span class="fw-semibold text-gray-400 d-block fs-8">Manager</span>
<a href="../../demo1/dist/pages/user-profile/overview.html" class="fw-bold text-gray-800 text-hover-primary fs-7">ChiefSoft Works</a>
<a href="#" class="fw-bold text-gray-800 text-hover-primary fs-7">ChiefSoft Works</a>
</div>
<!--end::Info-->
</div>
+62
View File
@@ -64,6 +64,66 @@ $project_list = $_SESSION['project_list'];
<!--end:Menu sub-->
</div>
<!--end:Menu item-->
<!--begin:Menu item-->
<div class="menu-item pt-5">
<!--begin:Menu content-->
<div class="menu-content">
<span class="menu-heading fw-bold text-uppercase fs-7">Blog/Sites</span>
</div>
<!--end:Menu content-->
</div>
<!--end:Menu item-->
<!--begin:Menu item-->
<div data-kt-menu-trigger="click" class="menu-item menu-accordion">
<!--begin:Menu link-->
<span class="menu-link">
<span class="menu-icon">
<i class="ki-duotone ki-address-book fs-2">
<span class="path1"></span>
<span class="path2"></span>
<span class="path3"></span>
</i>
</span>
<span class="menu-title">Blogs</span>
<span class="menu-arrow"></span>
</span>
<!--end:Menu link-->
<!--begin:Menu sub-->
<div class="menu-sub menu-sub-accordion">
<!--begin:Menu item-->
<div class="menu-item">
<!--begin:Menu link-->
<a class="menu-link" href="/projects/blogs">
<span class="menu-bullet">
<span class="bullet bullet-dot"></span>
</span>
<span class="menu-title">Blogs</span>
</a>
<!--end:Menu link-->
</div>
<!--end:Menu item-->
<!--begin:Menu item-->
<div class="menu-item">
<!--begin:Menu link-->
<a class="menu-link" href="#">
<span class="menu-bullet">
<span class="bullet bullet-dot"></span>
</span>
<span class="menu-title">WordPress Sites</span>
</a>
<!--end:Menu link-->
</div>
<!--end:Menu item-->
</div>
<!--end:Menu sub-->
</div>
<!--end:Menu item-->
<!--begin:Menu item-->
<div class="menu-item pt-5">
<!--begin:Menu content-->
@@ -142,6 +202,8 @@ $project_list = $_SESSION['project_list'];
<!--end:Menu content-->
</div>
<!--end:Menu item-->
<!--begin:Menu item-->
<div data-kt-menu-trigger="click" class="menu-item menu-accordion">
<!--begin:Menu link-->
Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB