| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xampp/htdocs-coblaa/pureFaith/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clip Studio</title>
<link rel="stylesheet" type="text/css" href="main_css/clip_studio.css?v1" />
<!-- Use the Inter font from Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
</head>
<body>
<?php
session_start();
include('db.php');
if(!isset($_SESSION['my_id']))
{
echo"<script>window.open('login','_self')</script>";
}else{
$userId = $_SESSION['my_id'];
$get_publihser ="select * from cb_publisher where userId='$userId' ";
$run_get_publihser = mysqli_query($con,$get_publihser);
$check_publisher = mysqli_num_rows($run_get_publihser);
if($check_publisher <1){
echo"<script>window.open('cb_publisher','_self')</script>";
}else{
?>
<div class="main_home_div" >
<img src="main_icon/back_btnW.png" Onclick="history.back();" class="back_btn" />
<img src="main_icon/main_coblaa_logo.png" Onclick="history.back();" class="back_btn" />
<div id="main_search_div" class="main_search_div" >
<input id="searchInput" class="searchInput" />
<img src="main_icon/search.png" Onclickk="history.back();" class="searchBtn" />
</div>
<a href="clip_upload"><img src="main_icon/uploadW.png" class="uploadBtn" /></a>
<img src="main_icon/searchW.png" Onclick="showSearchInputMob();" class="searchBtnMob" />
</div>
<div class="userprofile" >
<div class="sub_userprofile" >
<span class="img_userprofile" ></span>
<span id="disp_user_info_output" class="name_user" ></span>
</div>
<a href="index"><button id="st_homeBtn" class="st_homeBtn">Home</button><a>
<button id="st_studioBtn" Onclick="show_myStudio();" class="st_homeBtn">Studio</button>
<button id="st_videoBtn" Onclick="show_myVideo();" class="st_homeBtn">Videos</button>
<button id="st_wisdomBtn" Onclick="show_myWisdomText();" class="st_homeBtn">Daily Wisdom</button>
</div>
<div id="mainContainer" class="mainContainer" >
<?php
if(isset($_GET['indxLink'])){
$studioIdv = $_GET['indxLink'];
?>
<input id="studioId" value="<?php echo $studioIdv; ?>" class="inputHelp" />
<?php
}else{ ?>
<input id="studioId" value="" class="inputHelp" />
<?php } ?>
<div id="mainVidDispOutPut" ></div>
<div id="studion_wisdom_text_output" ></div>
<!--div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae195f9761e.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae1919342c7.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae195f9761e.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae1919342c7.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae195f9761e.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae1919342c7.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div>
<div class="userSingleVid" >
<span class="singleThumb" ><img src="CB_vid_thumb/68ae195f9761e.jpg" class="vid_thumb_img" /></span>
<span class="singleVidName" >Video Name some of these thing pain the people and remain on their hearts</span>
<span class="vidPostDat" ><span>5000 Views</span> <span style="float:right">20-08-2025</span></span>
</div-->
</div>
<div class="footer_div">
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >About Us</a>
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >Contact</a>
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >Privacy policy</a>
</div>
<?php } } ?>
<script>
function showSearchInputMob()
{
document.getElementById('main_search_div').style.display="block";
}
/*function join_bmgame_now()
{
my_id = document.getElementById('my_id').value;
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&status=join_bmgame_now",false);
xmlhttp.send(null);
document.getElementById('check_member_output').innerHTML=xmlhttp.responseText;
disp_user_point();
document.getElementById('shell_welcome_div').style.display="none";
document.getElementById('shell_welcome_div2').style.display="block";
}*/
function mainVidDisp() {
studioId = document.getElementById('studioId').value;
/*const my_id = document.getElementById('my_id').value;
if (!my_id) {
console.error("User ID is missing.");
return;
}*/
// const url = `auto_page.php?my_id=${my_id}&status=mainVidDisp`;
const url = `auto_page.php?studioId=${studioId}&status=mainVidDisp`;
fetch(url)
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! Status: ${response.status}`);
}
return response.text();
})
.then(data => {
// You can optionally call disp_user_point() here if it depends on the server response
// disp_user_point();
document.getElementById('mainVidDispOutPut').innerHTML = data;
// After content is loaded, apply the style
document.getElementById('mainVidDispOutPut').style = "displayk: flex;flex-wrap: wrap;justify-content:space-around;";
})
.catch(error => {
console.error("Error joining game:", error);
document.getElementById('mainVidDispOutPut').innerHTML = 'An error occurred. Please try again.';
});
}
mainVidDisp();
function studio_disp_wisdomText() {
// Use the fetch API for a modern, asynchronous request
fetch("auto_page.php?status=studio_disp_wisdomText")
.then(response => {
// Check if the request was successful
if (!response.ok) {
throw new Error('Network response was not ok');
}
// Parse the response body as text
return response.text();
})
.then(data => {
// Insert the HTML content into the videos_list_output div
document.getElementById('studion_wisdom_text_output').innerHTML = data;
})
.catch(error => {
// Handle any errors that occurred during the fetch
console.error("Error fetching wisdomb text list:", error);
document.getElementById('studion_wisdom_text_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
});
}
studio_disp_wisdomText();
function show_myStudio()
{
document.getElementById('studion_wisdom_text_output').style.display="none";
document.getElementById('mainVidDispOutPut').style.display="none";
document.getElementById('st_studioBtn').style="background:orange;";
document.getElementById('st_homeBtn').style="background:#005662;";
document.getElementById('st_videoBtn').style="background:#005662;";
document.getElementById('st_wisdomBtn').style="background:#005662;";
}
function show_myVideo()
{
document.getElementById('studion_wisdom_text_output').style.display="none";
document.getElementById('mainVidDispOutPut').style.display="flex";
document.getElementById('st_videoBtn').style="background:orange;";
document.getElementById('st_studioBtn').style="background:#005662;";
document.getElementById('st_homeBtn').style="background:#005662;";
document.getElementById('st_wisdomBtn').style="background:#005662;";
}
function show_myWisdomText()
{
document.getElementById('studion_wisdom_text_output').style.display="block";
document.getElementById('mainVidDispOutPut').style.display="none";
document.getElementById('st_wisdomBtn').style="background:orange;";
document.getElementById('st_studioBtn').style="background:#005662;";
document.getElementById('st_homeBtn').style="background:#005662;";
document.getElementById('st_videoBtn').style="background:#005662;";
}
function disp_user_info() {
// Use the fetch API for a modern, asynchronous request
fetch("auto_page.php?status=disp_user_info")
.then(response => {
// Check if the request was successful
if (!response.ok) {
throw new Error('Network response was not ok');
}
// Parse the response body as text
return response.text();
})
.then(data => {
// Insert the HTML content into the videos_list_output div
document.getElementById('disp_user_info_output').innerHTML = data;
})
.catch(error => {
// Handle any errors that occurred during the fetch
console.error("Error fetching wisdomb text list:", error);
document.getElementById('disp_user_info_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
});
}
disp_user_info();
</script>
</body>
</html>