annotate setChannelInfo.php @ 143:42f6eb738567

mod: 積み残しを修正
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 21 Mar 2010 21:54:03 +0900
parents 134fced37df5
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 ?>