📄 pmd_general.php
字号:
echo 'v'; } else { echo '>'; } ?></td> <td class="small_tab_pref" onmouseover="this.className='small_tab_pref2';" onmouseout="this.className='small_tab_pref';" onclick="Start_tab_upd('<?php echo $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i]; ?>');"> <img src="pmd/images/exec_small.png" alt="" /></td> <td nowrap="nowrap" id="id_zag_<?php echo $t_n_url ?>" class="tab_zag" onmousedown="cur_click=document.getElementById('<?php echo $t_n_url ?>');" onmouseover="this.className = 'tab_zag_2'" onmouseout="this.className = 'tab_zag'"> <span class='owner'> <?php echo $GLOBALS['PMD_OUT']["OWNER"][$i]; echo '.</span>'; echo $GLOBALS['PMD_OUT']["TABLE_NAME_SMALL"][$i]; ?></td></tr></thead><tbody id="id_tbody_<?php echo $t_n_url ?>" <?php if (! isset($tab_pos[$t_n])) echo 'style="display: none;"'; ?>> <?php $display_field = PMA_getDisplayField($db, $GLOBALS['PMD']["TABLE_NAME_SMALL"][$i]); for ($j = 0; $j < count($tab_column[$t_n]["COLUMN_ID"]); $j++) { ?><tr id="id_tr_<?php echo $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i] . '.' . urlencode($tab_column[$t_n]["COLUMN_NAME"][$j]) ?>" <?php if ($display_field == $tab_column[$t_n]["COLUMN_NAME"][$j]) { echo ' class="tab_field_3" '; } else { echo ' class="tab_field" '; } ?> onmouseover="old_class = this.className; this.className = 'tab_field_2';" onmouseout="this.className = old_class;" onmousedown="Click_field('<?php echo $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i]."','".urlencode($tab_column[$t_n]["COLUMN_NAME"][$j])."',"; if (! PMA_foreignkey_supported($GLOBALS['PMD']['TABLE_TYPE'][$i])) { echo (isset($tables_pk_or_unique_keys[$t_n . "." . $tab_column[$t_n]["COLUMN_NAME"][$j]]) ? 1 : 0); } else { // if foreign keys are supported, it's not necessary that the // index is a primary key echo (isset($tables_all_keys[$t_n.".".$tab_column[$t_n]["COLUMN_NAME"][$j]]) ? 1 : 0); } ?>)"> <td width="10px" colspan="3" id="<?php echo $t_n_url.".".urlencode($tab_column[$t_n]["COLUMN_NAME"][$j]) ?>"> <div style="white-space:nowrap"> <?php if (isset($tables_pk_or_unique_keys[$t_n.".".$tab_column[$t_n]["COLUMN_NAME"][$j]])) { ?> <img src="pmd/styles/<?php echo $GLOBALS['PMD']['STYLE'];?>/images/FieldKey_small.png" alt="*" /> <?php } else { ?> <img src="pmd/styles/<?php echo $GLOBALS['PMD']['STYLE']?>/images/Field_small<?php if (strstr($tab_column[$t_n]["TYPE"][$j],'char') || strstr($tab_column[$t_n]["TYPE"][$j],'text')) { echo '_char'; } elseif (strstr($tab_column[$t_n]["TYPE"][$j],'int') || strstr($tab_column[$t_n]["TYPE"][$j],'float') || strstr($tab_column[$t_n]["TYPE"][$j],'double') || strstr($tab_column[$t_n]["TYPE"][$j],'decimal')) { echo '_int'; } elseif (strstr($tab_column[$t_n]["TYPE"][$j],'date') || strstr($tab_column[$t_n]["TYPE"][$j],'time') || strstr($tab_column[$t_n]["TYPE"][$j],'year')) { echo '_date'; } ?>.png" alt="*" /> <?php } echo htmlspecialchars($tab_column[$t_n]["COLUMN_NAME"][$j] . " : " . $tab_column[$t_n]["TYPE"][$j], ENT_QUOTES); ?> </div> </td></tr> <?php } ?></tbody></table> <?php}?></form><div id="hint"></div><div id='layer_action' style="visibility:<?php echo $hidden ?>;">Load...</div><table id="layer_new_relation" style="visibility:<?php echo $hidden ?>;" width="5%" border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td class="frams1" width="10px"></td> <td class="frams5" width="99%" ></td> <td class="frams2" width="10px"><div class="bor"></div></td></tr><tr> <td class="frams8"></td> <td class="input_tab"> <table width="168" border="0" align="center" cellpadding="2" cellspacing="0"> <thead> <tr> <td colspan="2" align="center" nowrap="nowrap"><strong><?php echo $strCreateRelation; ?></strong></td> </tr> </thead> <tbody id="foreign_relation"> <tr> <td colspan="2" align="center" nowrap="nowrap"><strong>FOREIGN KEY</strong></td> </tr> <tr> <td width="58" nowrap="nowrap">on delete</td> <td width="102"><select name="on_delete" id="on_delete"> <option value="nix" selected="selected">--</option> <option value="CASCADE">CASCADE</option> <option value="SET NULL">SET NULL</option> <option value="NO ACTION">NO ACTION</option> <option value="RESTRICT">RESTRICT</option> </select> </td> </tr> <tr> <td nowrap="nowrap">on update</td> <td><select name="on_update" id="on_update"> <option value="nix" selected="selected">--</option> <option value="CASCADE">CASCADE</option> <option value="SET NULL">SET NULL</option> <option value="NO ACTION">NO ACTION</option> <option value="RESTRICT">RESTRICT</option> </select> </td> </tr> </tbody> <tbody> <tr> <td colspan="2" align="center" nowrap="nowrap"> <input type="button" class="butt" name="Button" value="<?php echo $strOK; ?>" onclick="New_relation()" /> <input type="button" class="butt" name="Button" value="<?php echo $strCancel; ?>" onclick="document.getElementById('layer_new_relation').style.visibility = 'hidden';" /> </td> </tr> </tbody> </table> </td> <td class="frams6"></td></tr><tr> <td class="frams4"><div class="bor"></div></td> <td class="frams7"></td> <td class="frams3"></td></tr></tbody></table><table id="layer_upd_relation" style="visibility:<?PHP echo $hidden ?>;" width="5%" border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td class="frams1" width="10px"></td> <td class="frams5" width="99%"></td> <td class="frams2" width="10px"><div class="bor"></div></td></tr><tr> <td class="frams8"></td> <td class="input_tab"> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0"> <tr> <td colspan="3" align="center" nowrap="nowrap"><strong><?php echo $strDeleteRelation; ?></strong></td> </tr> <tr> <td colspan="3" align="center" nowrap="nowrap"> <input name="Button" type="button" class="butt" onclick="Upd_relation()" value="<?php echo $strDelete; ?>" /> <input type="button" class="butt" name="Button" value="<?php echo $strCancel; ?>" onclick="document.getElementById('layer_upd_relation').style.visibility = 'hidden'; Re_load();" /> </td> </tr> </table></td> <td class="frams6"></td></tr><tr> <td class="frams4"><div class="bor"></div></td> <td class="frams7"></td> <td class="frams3"></td></tr></tbody></table><!-- cache images --><img src="pmd/images/2leftarrow_m.png" width="0" height="0" alt="" /><img src="pmd/images/rightarrow1.png" width="0" height="0" alt="" /><img src="pmd/images/rightarrow2.png" width="0" height="0" alt="" /><img src="pmd/images/uparrow2_m.png" width="0" height="0" alt="" /></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -