This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $this->Links[] = "<div class=\"col-sm-12 text-center\"><ul class=\"pagination\">"; | |
| $first = "<li class=\"active\"></li>"; | |
| if ($this->getPager() > 1): | |
| $first = "<li><a class=\"\" href=\"?" . $this->getPage() . "=1\">Primeira</a></li>"; | |
| endif; | |
| $this->Links[] = $first; | |
| for ($i = $this->getPager() - $this->getMaxLinks(); $i <= $this->getPager() - 1; $i++): | |
| if ($i >= 1): | |
| $this->Links[] = "<li><a href=\"?" . $this->getPage() . "=" . $i . "\">" . $i . "</a></li>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private function verifyWhereAndOrder() { | |
| if ($this->Where == null && $this->Order == null) { | |
| $this->query .= $this->getTable() . " LIMIT " . $this->index_page . "," . $this->getMaxPerPage(); | |
| return $this->FullQuery($this->query); | |
| } | |
| if ($this->Where == null && $this->Order != null) { | |
| $this->query .= $this->getTable() . " {$this->Order} LIMIT " . $this->index_page . "," . $this->getMaxPerPage(); | |
| return $this->FullQuery($this->query); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Calender | |
| { | |
| private function createWeeks() | |
| { | |
| $weeks = "DSTQQSS"; | |
| $td = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //index.php | |
| <?php | |
| echo 'bem vindo a index'; | |
| //form.php | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( session_status() !== PHP_SESSION_ACTIVE ){ | |
| session_start(); | |
| } | |
| $email = filter_input(INPUT_POST, 'email'); | |
| $pass = filter_input(INPUT_POST, 'pass'); | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
| <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Seto o Content Type | |
| // header('Content-type: image/jpeg'); | |
| // Crio a imagem com um arquivo existente | |
| $jpg_image = imagecreatefromjpeg('image.jpg'); | |
| // Aloco uma cor para o texto | |
| $white = imagecolorallocate($jpg_image, 251, 22808, 10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Class Calendar | |
| * | |
| * @author Luciano Charles de Souza | |
| * E-mail: [email protected] | |
| * Github: https://github.com/LucianoCharlesdeSouza | |
| * YouTube: https://www.youtube.com/channel/UC2bpyhuQp3hWLb8rwb269ew?view_as=subscriber | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .mail-box { | |
| border-collapse: collapse; | |
| border-spacing: 0; | |
| display: table; | |
| table-layout: fixed; | |
| width: 100%; | |
| } | |
| .mail-box aside { | |
| display: table-cell; |
OlderNewer