annotate setChannelInfo.php @ 127:134fced37df5

mod: 改行コード
author Sushi-k <epgrec@park.mda.or.jp>
date Wed, 17 Mar 2010 18:14:19 +0900
parents b491e7136044
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
127
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
1 <?php
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
2 include_once('config.php');
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
3 include_once( INSTALL_PATH . "/DBRecord.class.php" );
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
4 include_once( INSTALL_PATH . "/Settings.class.php" );
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
5
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
6
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
7 if( isset($_POST['sid']) && isset($_POST['channel_disc']) && isset($_POST['skip']) ) {
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
8
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
9 try {
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
10 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_POST['channel_disc'] );
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
11 $crec->sid = trim($_POST['sid']);
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
12 $crec->skip = (int)(trim($_POST['skip']));
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
13 }
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
14 catch( Exception $e ) {
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
15 exit("Error: c潟掩贋医け" );
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
16 }
134fced37df5 mod: 改行コード
Sushi-k <epgrec@park.mda.or.jp>
parents: 126
diff changeset
17 }
126
b491e7136044 mod: チャンネルスキップの大まかな実装終了
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
18 ?>