This commit is contained in:
2020-02-26 08:54:25 -05:00
parent edb0bfc77a
commit ec1f5965de
3 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -223,6 +223,8 @@ class Member extends Member_Controller {
}
public function upload() {
set_time_limit(5000);
$page_item_id = 0;
$data = [];
$page_key = "";
@@ -289,8 +291,6 @@ class Member extends Member_Controller {
$x['member_id'] = $_SESSION["member_id"];
$x['session'] = $_SESSION["sessionid"];
$x['sessionid'] = $_SESSION["sessionid"];
} else {
$message = 'There was some error moving the file to upload directory. Please make sure the upload directory is writable by web server.';
}
@@ -34,6 +34,7 @@ class Start_Controller extends COR_Controller {
$_SESSION['mypage'] = $out["mypage"];
$_SESSION["top_message"] = " Welcome ".$_SESSION['firstname'];
$_SESSION['myfolder'] = $out["folder"];
$_SESSION['profile_picture'] ="";
}
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
@@ -1,18 +1,18 @@
<div class="row">
<div class="col-lg-3 col-md-6 col-12">
<div class="col-lg-3 col-md-6 col-12">
<div class="card">
<div class="card-header d-flex flex-column align-items-start pb-0" style="background-color: aliceblue;">
<h3 class="text-bold-700 mt-1 mb-25">First Title</h3>
<h3 class="text-bold-700 mt-1 mb-25">More Title</h3>
</div>
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="/uploads/DV/RaspberryPi/Measuring Distance with Raspberry Pi and HC-SR04 Utrasonic Sensor.mp4" autoplay="0"></iframe>
</div>
<video width="100%" height="380" controls>
<source src="/uploads/DV/RaspberryPi/Measuring Distance with Raspberry Pi and HC-SR04 Utrasonic Sensor.mp4" type="video/mp4">
</video>
</div>
</div>
<?php
foreach ($page_card_items AS $drow) {
// print_r($drow);
@@ -33,19 +33,6 @@
}
?>
<div class="col-lg-3 col-md-6 col-12">
<div class="card">
<div class="card-header d-flex flex-column align-items-start pb-0" style="background-color: aliceblue;">
<h3 class="text-bold-700 mt-1 mb-25">Another Title</h3>
</div>
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="/uploads/DV/RaspberryPi/DHT22 Raspberry Pi Humidity Temperature Sensor Tutorial.mp4" autoplay="0"></iframe>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 col-12">
<div class="card">
@@ -53,10 +40,25 @@
<h3 class="text-bold-700 mt-1 mb-25">More Title</h3>
</div>
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="/uploads/DV/RaspberryPi/WhatEthernetCable.mp4" autoplay="0"></iframe>
</div>
<video width="100%" height="380" controls>
<source src="/uploads/DV/RaspberryPi/DHT22 Raspberry Pi Humidity Temperature Sensor Tutorial.mp4" type="video/mp4">
</video>
</div>
</div>
<div class="col-lg-3 col-md-6 col-12">
<div class="card">
<div class="card-header d-flex flex-column align-items-start pb-0" style="background-color: aliceblue;">
<h3 class="text-bold-700 mt-1 mb-25">More Title</h3>
</div>
<video width="100%" height="380" controls>
<source src="/uploads/DV/RaspberryPi/WhatEthernetCable.mp4" type="video/mp4">
</video>
</div>
</div>
</div>