Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="utf-8">
        <title>AirBnB運営管理</title>
<link hrel="jquery-ui.min.css" rel="stylesheet">
<script src="jquery.js"></script>
<script src="jquery-ui.min.js"></script>
<script>
$(function(){
<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="utf-8">
        <title>AirBnB運営管理</title>
<link hrel="jquery-ui.min.css" rel="stylesheet">
<script src="jquery.js"></script>
<script src="jquery-ui.min.js"></script>
<script>
$(function(){
$(function() {
// 表示するフォームは 'dialog-form' という ID で定義します。
$("#dialog-form").dialog({
autoOpen: false,
height: 180,
width: 350,
modal: true,
buttons: { // ダイアログに表示するボタンと処理
"送信": function() {
<?php
$dataFile='ss.dat';
if($_SERVER['REQUEST_METHOD']=='POST' &&
isset($_POST['userid'])&&
isset($_POST['coinlaundry']) &&
isset($_POST['cost'])
){
$userid = $_POST['userid'];
<?php
ini_set('display_errors', 1);
?>
<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="utf-8">
        <title>AirBnB運営管理</title>
<link hrel="jquery-ui.min.css" rel="stylesheet">
<?php
$dataFile='ss.dat';
if($_SERVER['REQUEST_METHOD']=='POST' &&
isset($_POST['userhouse'])&&
isset($_POST['userid'])&&
isset($_POST['coinlaundry']) &&
isset($_POST['cost'])
){
$(function() {
// 表示するフォームは 'dialog-form' という ID で定義します。
$("#dialog-form").dialog({
autoOpen: false,
height: 180,
width: 350,
modal: true,
buttons: { // ダイアログに表示するボタンと処理
"送信": function() {
html,body{
margin:0;
padding:0;
}
#menu{
width:100%;
height:3rem;
line-height:3rem;
<?php
ini_set('display_errors', 1);
/* data取得 */
$dataArray = array();
$dataFile = 'ss.dat';
$fp = fopen($dataFile, "r");
while (($dataRow = fgetcsv($fp, 0, ",")) !== FALSE) {
$dataArray[] = $dataRow;
$(function() {
var member = {
"row1": "梅木",
"row2": "太田",
"row3": "峰",
"row4": "新井"
};
var house = {
"dan1": "根津",