Subversion-Projekte lars-tiefland.ci

Revision

Revision 2202 | Revision 2211 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2202 Revision 2203
Zeile 1... Zeile 1...
1
<!-- $Id: getMedien.tpl 2202 2017-12-23 16:03:57Z lars $ BEGIN --> 
1
<!-- $Id: getMedien.tpl 2203 2017-12-23 18:46:27Z lars $ BEGIN --> 
2
<script>
2
<script>
3
    $(document).ready(function(){
3
    $(document).ready(function(){
4
        $('.add_image').button({
4
        $('.add_image').button({
5
            icons:{
5
            icons:{
6
                primary:"ui-icon-plus"
6
                primary:"ui-icon-plus"
Zeile 47... Zeile 47...
47
    {
47
    {
48
        id=this.id;
48
        id=this.id;
49
        id=id.split("_");
49
        id=id.split("_");
50
        b_id=id[2];
50
        b_id=id[2];
51
        a_id=id[3];
51
        a_id=id[3];
52
        $.get("/Online-Shop/add_image.php?l_id="+a_id+"&l_type=a&b_id="+b_id,function(html){
52
        $.get("/backend/medien/add/?l_id="+a_id+"&l_type=a&b_id="+b_id,function(html){
53
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=a");
53
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=a");
54
        });
54
        });
55
    }
55
    }
56
    function add_d_image()
56
    function add_d_image()
57
    {
57
    {
58
        id=this.id;
58
        id=this.id;
59
        id=id.split("_");
59
        id=id.split("_");
60
        b_id=id[2];
60
        b_id=id[2];
61
        a_id=id[3];
61
        a_id=id[3];
62
        $.get("/Online-Shop/add_image.php?l_id="+a_id+"&l_type=d&b_id="+b_id,function(html){
62
        $.get("/backend/medien/add/?l_id="+a_id+"&l_type=d&b_id="+b_id,function(html){
63
            //alert(html);
63
            //alert(html);
64
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=d");
64
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=d");
65
        });
65
        });
66
    }
66
    }
67
    function add_u_image()
67
    function add_u_image()
68
    {
68
    {
69
        id=this.id;
69
        id=this.id;
70
        id=id.split("_");
70
        id=id.split("_");
71
        b_id=id[2];
71
        b_id=id[2];
72
        a_id=id[3];
72
        a_id=id[3];
73
        $.get("/Online-Shop/add_image.php?l_id="+a_id+"&l_type=u&b_id="+b_id,function(html){
73
        $.get("/backend/medien/add/?l_id="+a_id+"&l_type=u&b_id="+b_id,function(html){
74
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=u");
74
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=u");
75
        });
75
        });
76
    }
76
    }
77
    function add_v_image()
77
    function add_v_image()
78
    {
78
    {
79
        id=this.id;
79
        id=this.id;
80
        id=id.split("_");
80
        id=id.split("_");
81
        b_id=id[2];
81
        b_id=id[2];
82
        a_id=id[3];
82
        a_id=id[3];
83
        $.get("/Online-Shop/add_image.php?l_id="+a_id+"&l_type=d&b_id="+b_id,function(html){
83
        $.get("/backend/medien/add/?l_id="+a_id+"&l_type=d&b_id="+b_id,function(html){
84
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=v");
84
            $('#bildverwaltung').load( "/Online-Shop/bilder.php?l_id="+a_id+"&l_type=v");
85
        });
85
        });
86
    }
86
    }
87
</script>
87
</script>
88
<div class="pos">
88
<div class="pos">
Zeile 177... Zeile 177...
177
        daten=$('#searchForm').serialize();
177
        daten=$('#searchForm').serialize();
178
        url="/medien/get/?"+daten;
178
        url="/medien/get/?"+daten;
179
        $('#searchResult').load(url)
179
        $('#searchResult').load(url)
180
    }
180
    }
181
</script>
181
</script>
182
<!-- $Id: getMedien.tpl 2202 2017-12-23 16:03:57Z lars $ END --> 
182
<!-- $Id: getMedien.tpl 2203 2017-12-23 18:46:27Z lars $ END -->