Ejemplo n.º 1
0
<?php

include "PostControler.php";
$postId = $_GET['id'];
$controler = new PostControler();
?>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap linki -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    <title>Post details </title>
</head>
<body>
    <div class="container">
        <div class="page-header text-center">
            <h2> Details of a post  </h2>
        </div>
        <div class="row">
            <div class="col-sm-4 col-sm-offset-4">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        Post details
                    </div>
                    <div class="panel-body">
Ejemplo n.º 2
0
Archivo: index.php Proyecto: jpirih/Php
<?php

include "PostControler.php";
$controler = new PostControler();
?>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap linki -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    <title>All saved posts</title>
</head>
<body>
<!-- page title   -->
<div class="page-header text-center">
    <h2>Dashboard - All saved posts over view</h2>
</div>
<!-- end title section  -->


<!-- Navigation -->
<div class="row">
    <div class="col-sm-6 col-sm-offset-3">
        <ul class="nav nav-pills">
            <li role="presentation" class="active"><a href="#">Seznam vseh</a></li>
Ejemplo n.º 3
0
<?php

include "PostControler.php";
$controler = new PostControler();
$user_id = 3;
$title = $_POST['title'];
$content = $_POST['content'];
?>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap linki -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    <title>Post Saved</title>
</head>
<body>
<!-- Info message new post saved -->
<div class="conatiner">
    <div class="page-header">
        <h2 class="text-center">Post Saved !</h2>
    </div>
    <div class="row">
        <div class="col-sm-4 col-sm-offset-4">

            <?php