       if (pw.zz_get_web_a_setting_byinit("link_pt_linktype", webid, "close") == "auto")
                    {
                        radioButton1.Checked = true;

                    }
                    else
                    {

                        radioButton2.Checked = true;
                    }

                }

                set_checkstate_bystr(checkBox1,pw.zz_get_web_a_setting_byinit("link_pt_isauto_baidushoulu",webid,"0"));
                set_checkstate_bystr(checkBox2, pw.zz_get_web_a_setting_byinit("link_pt_isauto_baidushottimelu", webid, "0"));
                set_checkstate_bystr(checkBox3, pw.zz_get_web_a_setting_byinit("link_pt_isauto_baiduisindex", webid, "0"));
                set_checkstate_bystr(checkBox4, pw.zz_get_web_a_setting_byinit("link_pt_isauto_googleshoulu", webid, "0"));
                set_checkstate_bystr(checkBox5, pw.zz_get_web_a_setting_byinit("link_pt_isauto_sogoushoulu", webid, "0"));
                set_checkstate_bystr(checkBox6, pw.zz_get_web_a_setting_byinit("link_pt_isauto_sososhoulu", webid, "0"));
                set_checkstate_bystr(checkBox7, pw.zz_get_web_a_setting_byinit("link_pt_isauto_prshoulu", webid, "0"));
               set_checkstate_bystr(checkBox8, pw.zz_get_web_a_setting_byinit("link_pt_isauto_yahoolianshoulu", webid, "0"));




               set_checkstate_bystr(checkBox16, pw.zz_get_web_a_setting_byinit("link_pt_sd_baidushoulu", webid, "0"));
               set_checkstate_bystr(checkBox15, pw.zz_get_web_a_setting_byinit("link_pt_sd_baidushottimelu", webid, "0"));
               set_checkstate_bystr(checkBox14, pw.zz_get_web_a_setting_byinit("link_pt_sd_baiduisindex", webid, "0"));
               set_checkstate_bystr(checkBox13, pw.zz_get_web_a_setting_byinit("link_pt_sd_googleshoulu", webid, "0"));
               set_checkstate_bystr(checkBox12, pw.zz_get_web_a_setting_byinit("link_pt_sd_sogoushoulu", webid, "0"));
               set_checkstate_bystr(checkBox11, pw.zz_get_web_a_setting_byinit("link_pt_sd_sososhoulu", webid, "0"));
               set_checkstate_bystr(checkBox10, pw.zz_get_web_a_setting_byinit("link_pt_sd_prshoulu", webid, "0"));
               set_checkstate_bystr(checkBox9, pw.zz_get_web_a_setting_byinit("link_pt_sd_yahoolianshoulu", webid, "0"));



               textBox1.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_baidushoulu", webid, "0");

               textBox2.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_baidushottimelu", webid, "2010-01-01");

               textBox3.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_googleshoulu", webid, "0");
               textBox4.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_sogoushoulu", webid, "0");
               textBox5.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_sososhoulu", webid, "0");
               textBox6.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_prshoulu", webid, "0");
               textBox7.Text = pw.zz_get_web_a_setting_byinit("link_pt_sdset_yahoolianshoulu", webid, "0");

              textBox8.Text=pw.zz_get_web_a_setting_byinit("link_pt_sdset_max_links", webid, "50");
              set_checkstate_bystr(checkBox17, pw.zz_get_web_a_setting_byinit("link_pt_sdset_is_yunxu_mywebs", webid, "0"));
              set_checkstate_bystr(checkBox18, pw.zz_get_web_a_setting_byinit("link_pt_sdset_is_yunxu_tongip", webid, "0"));
               
