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
# Code example to generate sitemap with https://github.com/dwightwatson/sitemap | |
<?php | |
namespace App\Http\Controllers\Admin; | |
use App\Services\DebateService; | |
use App\Http\Controllers\Controller; | |
use App\Services\GroupService; | |
use App\Services\InvitationService; |
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
-- -------------------------------------------------------- | |
-- Host: 127.0.0.1 | |
-- Versión del servidor: 5.7.17-0ubuntu0.16.04.2 - (Ubuntu) | |
-- SO del servidor: Linux | |
-- HeidiSQL Versión: 9.4.0.5125 | |
-- -------------------------------------------------------- | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET NAMES utf8 */; | |
/*!50503 SET NAMES utf8mb4 */; |
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
$urlCurrent = $_SERVER["REQUEST_SCHEME"] . '://' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; | |
function acortar_url($url) | |
{ | |
$usuario = "o_89kncra68"; | |
$apikey = "R_4f27f66b97292542888d9530443f2cd4"; | |
$temp = "http://api.bit.ly/v3/shorten?login=" . $usuario . "&apiKey=" . $apikey . "&uri=" . $url . "&format=txt"; | |
return file_get_contents($temp); | |
} |
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
//use Fontawesome | |
@for ($x = 1; $x <= $name->ratingAverage; $x++) | |
<i class="fa fa-star"></i> | |
@endfor | |
@if (strpos($name->ratingAverage, '.')) | |
<i class="fa fa-star-half-o"></i> | |
@php | |
$x++; | |
@endphp | |
@endif |
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
<template> | |
<div class="card"> | |
<form action="#" class="form-monkey form-buy-membreship" id="culqi-card-form"> | |
<div class="row"> | |
<div class="block-form"> | |
<div class="col-sm-6"> | |
<div class="form-group"> | |
<label for="card[email]">Email</label> | |
<input type="text" class="form-control" placeholder="Correo electrónico" | |
v-model="user.email" |
NewerOlder