2 require 'api/server_info.php';
3 $conn=mysqli_connect($db1_link,$db1_user,$db1_pw,$db1_name);
4 $query=$conn->query('select blogname,blogtitle from blog');
5 $info=$query->fetch_array();
9 <title><?php echo $info['blogtitle'];?></title>
10 <link rel='stylesheet' type='text/css' href='css/kie.css'>
11 <link rel='stylesheet' type='text/css' href='css/change.css'>
15 <form action='api/change_name.php' method='post'>
16 <i><label class='labels'>Nombre</label></i>
17 <input placeholder='Nuevo nombre' class='inputs' value='<?php echo $info["blogname"];?>' name='name'>
18 <i><label class='labels'>Titulo</label></i>
19 <input placeholder='Nuevo titulo' class='inputs' value='<?php echo $info["blogtitle"];?>' name='title'>
20 <input type='submit' value='Cambiar' class='submit'>