Beispiel #1
0
							<script type="text/javascript">
							<!--
								window.close(); 
								window.opener.location.reload();
								//-->
							</script>
							<?php 
                                    }
                                }
                            }
                            break;
                        case 'radio_new':
                        case 'radio_edit':
                            if ($valuser->isadmin() && $cfg['radio'] && frm_ok('stationid', 1)) {
                                $kpr = new kpradio();
                                $kpr->load(frm_get('stationid', 1));
                                $kpr->edit();
                            }
                            break;
                        case 'radio_editjs':
                            ?>
					<script type="text/javascript">
					<!--
						location = '<?php 
                            echo PHPSELF;
                            ?>
?action=radio_edit&stationid='+opener.document.misc.stationid.value;
					//-->
					</script>
					<?php 
                            break;
Beispiel #2
0
								<!--
									window.close(); 
									window.opener.location.reload();
									//-->
								</script>
								<?php 
                            }
                        }
                    }
                    break;
                case 'radio_new':
                case 'radio_edit':
                    $stationid = fruser('stationid');
                    if ($valuser->isadmin() && $cfg['radio'] && is_numeric($stationid)) {
                        $kpr = new kpradio();
                        $kpr->load($stationid);
                        $kpr->edit();
                    }
                    break;
                case 'radio_editjs':
                    ?>
						<script type="text/javascript">
						<!--
							location = '<?php 
                    echo PHPSELF;
                    ?>
?action=radio_edit&stationid='+opener.document.misc.stationid.value;
						//-->
						</script>
						<?php 
                    break;