change logo (temp)
This commit is contained in:
parent
372e389922
commit
ee67a74394
6 changed files with 392 additions and 388 deletions
|
|
@ -41,7 +41,8 @@ if ($_POST['act_button'] == "선택수정") {
|
||||||
$exp = explode(".", $_FILES['cl_img']['name'][$k]);
|
$exp = explode(".", $_FILES['cl_img']['name'][$k]);
|
||||||
$exp = $exp[count($exp) - 1];
|
$exp = $exp[count($exp) - 1];
|
||||||
|
|
||||||
$image_name = "class_" . time() . "." . $exp;
|
$t = time();
|
||||||
|
$image_name = "class_{$k}{$t}.{$exp}";
|
||||||
upload_file($_FILES['cl_img']['tmp_name'][$k], $image_name, $class_path);
|
upload_file($_FILES['cl_img']['tmp_name'][$k], $image_name, $class_path);
|
||||||
$image_url = $class_url . "/" . $image_name;
|
$image_url = $class_url . "/" . $image_name;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@ if ($img = $_FILES['cl_img']['name']) {
|
||||||
$exp = explode(".", $_FILES['cl_img']['name']);
|
$exp = explode(".", $_FILES['cl_img']['name']);
|
||||||
$exp = $exp[count($exp) - 1];
|
$exp = $exp[count($exp) - 1];
|
||||||
|
|
||||||
$image_name = "class_" . time() . "." . $exp;
|
$t = time();
|
||||||
|
$image_name = "class_c{$t}.{$exp}";
|
||||||
upload_file($_FILES['cl_img']['tmp_name'], $image_name, $class_path);
|
upload_file($_FILES['cl_img']['tmp_name'], $image_name, $class_path);
|
||||||
$image_url = $class_url . "/" . $image_name;
|
$image_url = $class_url . "/" . $image_name;
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
|
@ -41,7 +41,8 @@ if ($_POST['act_button'] == "선택수정") {
|
||||||
$exp = explode(".", $_FILES['si_img']['name'][$k]);
|
$exp = explode(".", $_FILES['si_img']['name'][$k]);
|
||||||
$exp = $exp[count($exp) - 1];
|
$exp = $exp[count($exp) - 1];
|
||||||
|
|
||||||
$image_name = "side_" . time() . "." . $exp;
|
$t = time();
|
||||||
|
$image_name = "side_{$k}{$t}.{$exp}";
|
||||||
upload_file($_FILES['si_img']['tmp_name'][$k], $image_name, $side_path);
|
upload_file($_FILES['si_img']['tmp_name'][$k], $image_name, $side_path);
|
||||||
$image_url = $side_url . "/" . $image_name;
|
$image_url = $side_url . "/" . $image_name;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@ if ($img = $_FILES['si_img']['name']) {
|
||||||
$exp = explode(".", $_FILES['si_img']['name']);
|
$exp = explode(".", $_FILES['si_img']['name']);
|
||||||
$exp = $exp[count($exp) - 1];
|
$exp = $exp[count($exp) - 1];
|
||||||
|
|
||||||
$image_name = "side_" . time() . "." . $exp;
|
$t = time();
|
||||||
|
$image_name = "side_s{$t}.{$exp}";
|
||||||
upload_file($_FILES['si_img']['tmp_name'], $image_name, $side_path);
|
upload_file($_FILES['si_img']['tmp_name'], $image_name, $side_path);
|
||||||
$image_url = $side_url . "/" . $image_name;
|
$image_url = $side_url . "/" . $image_name;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?phpxml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
// ================================================================
|
// ================================================================
|
||||||
// CHEditor Template
|
// CHEditor Template
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue